public class SDBFactory extends Object
| Constructor and Description |
|---|
SDBFactory() |
| Modifier and Type | Method and Description |
|---|---|
static com.hp.hpl.jena.query.Dataset |
connectDataset(Connection jdbcConnection,
StoreDesc desc)
Connect to the RDF dataset in a store, using existing JDBC connection and a store description.
|
static com.hp.hpl.jena.query.Dataset |
connectDataset(SDBConnection sdbConnection,
StoreDesc desc)
Connect to the RDF dataset in a store, using existing SDBConnection and a store description.
|
static com.hp.hpl.jena.query.Dataset |
connectDataset(Store store)
Connect to the RDF dataset in a store.
|
static com.hp.hpl.jena.query.Dataset |
connectDataset(StoreDesc desc)
Connect to the RDF dataset in a store.
|
static com.hp.hpl.jena.query.Dataset |
connectDataset(String configFile)
Connect to the RDF dataset in a store, based on a Store assembler file.
|
static com.hp.hpl.jena.graph.Graph |
connectDefaultGraph(Store store)
Connect to the default graph in a store, based on a Store description.
|
static com.hp.hpl.jena.graph.Graph |
connectDefaultGraph(StoreDesc desc)
Connect to the default graph in a store, based on a Store description.
|
static com.hp.hpl.jena.graph.Graph |
connectDefaultGraph(String configFile)
Connect to the default graph in a store, based on a Store assembler file.
|
static com.hp.hpl.jena.rdf.model.Model |
connectDefaultModel(Store store)
Connect to the default model in a store
|
static com.hp.hpl.jena.rdf.model.Model |
connectDefaultModel(StoreDesc desc)
Connect to the default model in a store
|
static com.hp.hpl.jena.rdf.model.Model |
connectDefaultModel(String configFile)
Connect to the default model in a store, using the store description in a file.
|
static com.hp.hpl.jena.update.GraphStore |
connectGraphStore(Connection jdbcConnection,
StoreDesc desc)
Connect to the store as a GraphStore, using existing JDBC connection and a store description.
|
static com.hp.hpl.jena.update.GraphStore |
connectGraphStore(SDBConnection sdbConnection,
StoreDesc desc)
Connect to the store as a GraphStore, using existing SDBConnection and a store description.
|
static com.hp.hpl.jena.update.GraphStore |
connectGraphStore(Store store)
Connect to the store as a GraphStore
|
static com.hp.hpl.jena.update.GraphStore |
connectGraphStore(StoreDesc desc)
Connect to the store as a GraphStore.
|
static com.hp.hpl.jena.update.GraphStore |
connectGraphStore(String configFile)
Connect to the store as a GraphStore, based on a Store assembler file.
|
static com.hp.hpl.jena.graph.Graph |
connectNamedGraph(StoreDesc desc,
com.hp.hpl.jena.graph.Node node)
Connect to a named graph in a store, based on a store description.
|
static com.hp.hpl.jena.graph.Graph |
connectNamedGraph(StoreDesc desc,
String iri)
Connect to a named graph in a store, based on a store description.
|
static com.hp.hpl.jena.graph.Graph |
connectNamedGraph(Store store,
com.hp.hpl.jena.graph.Node node)
Connect to a named graph in a store.
|
static com.hp.hpl.jena.graph.Graph |
connectNamedGraph(Store store,
String iri)
Connect to a named graph in a store.
|
static com.hp.hpl.jena.graph.Graph |
connectNamedGraph(String configFile,
com.hp.hpl.jena.graph.Node node)
Connect to a named graph in a store, based on a store description file.
|
static com.hp.hpl.jena.graph.Graph |
connectNamedGraph(String configFile,
String iri)
Connect to a named graph in a store, based on a store description file.
|
static com.hp.hpl.jena.rdf.model.Model |
connectNamedModel(StoreDesc desc,
com.hp.hpl.jena.rdf.model.Resource resource)
Connect to the named model in a store
|
static com.hp.hpl.jena.rdf.model.Model |
connectNamedModel(StoreDesc desc,
String iri)
Connect to the named model in a store
|
static com.hp.hpl.jena.rdf.model.Model |
connectNamedModel(Store store,
com.hp.hpl.jena.rdf.model.Resource resource)
Connect to the named model in a store
|
static com.hp.hpl.jena.rdf.model.Model |
connectNamedModel(Store store,
String iri)
Connect to the named model in a store
|
static com.hp.hpl.jena.rdf.model.Model |
connectNamedModel(String configFile,
com.hp.hpl.jena.rdf.model.Resource resource)
Connect to the named model in a store
|
static com.hp.hpl.jena.rdf.model.Model |
connectNamedModel(String configFile,
String iri)
Connect to the named model in a store
|
static Store |
connectStore(Connection sqlConnection,
StoreDesc desc)
Connect to a store, based on an existing JDBC connection and a store description.
|
static Store |
connectStore(SDBConnection sdbConnection,
StoreDesc desc)
Connect to a store, based on an existing SDB connection and a store description.
|
static Store |
connectStore(StoreDesc desc)
Connect to a store, based on a store description.
|
static Store |
connectStore(String configFile)
Connect to a store, based on store and connection descriptions in a file.
|
static SDBConnection |
createConnection(Connection conn)
Create a connection to a database from a JDBC connection.
|
static SDBConnection |
createConnection(SDBConnectionDesc desc)
Create a connection to a database from connection description.
|
static SDBConnection |
createConnection(String configFile)
Create a connection to a database from connection description in a file.
|
static SDBConnection |
createConnection(String jdbcURL,
String user,
String password)
Create a connection to a database.
|
static Connection |
createSqlConnection(com.hp.hpl.jena.rdf.model.Model model)
Create JDBC connection associated with the SDB connection description in a model.
|
static Connection |
createSqlConnection(SDBConnectionDesc desc)
Create JDBC connection associated with the SDB connection description.
|
static Connection |
createSqlConnection(String configFile)
Create JDBC connection associated with the SDB connection description in a file.
|
public static SDBConnection createConnection(String jdbcURL, String user, String password)
jdbcURL - user - password - public static SDBConnection createConnection(SDBConnectionDesc desc)
desc - SDB connection descriptionpublic static SDBConnection createConnection(Connection conn)
conn - JDBC connectionpublic static SDBConnection createConnection(String configFile)
configFile - Filename to be read and parsed (Jena assembler)public static Connection createSqlConnection(SDBConnectionDesc desc)
desc - SDB connection descriptionpublic static Connection createSqlConnection(String configFile)
configFile - Filenamepublic static Connection createSqlConnection(com.hp.hpl.jena.rdf.model.Model model)
model - Modelpublic static Store connectStore(String configFile)
configFile - Filename for assembler for Store and SDBConenctionpublic static Store connectStore(StoreDesc desc)
desc - Store description objectpublic static Store connectStore(SDBConnection sdbConnection, StoreDesc desc)
sdbConnection - SDBConnection objectdesc - Store description objectpublic static Store connectStore(Connection sqlConnection, StoreDesc desc)
sqlConnection - JDBC connectiondesc - Store description objectpublic static com.hp.hpl.jena.query.Dataset connectDataset(Store store)
store - public static com.hp.hpl.jena.query.Dataset connectDataset(StoreDesc desc)
desc - Store descriptionpublic static com.hp.hpl.jena.query.Dataset connectDataset(SDBConnection sdbConnection, StoreDesc desc)
sdbConnection - SDB connectiondesc - Store description objectpublic static com.hp.hpl.jena.query.Dataset connectDataset(Connection jdbcConnection, StoreDesc desc)
jdbcConnection - JDBC connectiondesc - Store description objectpublic static com.hp.hpl.jena.query.Dataset connectDataset(String configFile)
configFile - public static com.hp.hpl.jena.update.GraphStore connectGraphStore(Store store)
store - public static com.hp.hpl.jena.update.GraphStore connectGraphStore(StoreDesc desc)
desc - Store descriptionpublic static com.hp.hpl.jena.update.GraphStore connectGraphStore(SDBConnection sdbConnection, StoreDesc desc)
sdbConnection - SDB connectiondesc - Store description objectpublic static com.hp.hpl.jena.update.GraphStore connectGraphStore(Connection jdbcConnection, StoreDesc desc)
jdbcConnection - JDBC connectiondesc - Store description objectpublic static com.hp.hpl.jena.update.GraphStore connectGraphStore(String configFile)
configFile - public static com.hp.hpl.jena.graph.Graph connectDefaultGraph(String configFile)
configFile - public static com.hp.hpl.jena.graph.Graph connectDefaultGraph(StoreDesc desc)
desc - Store description objectpublic static com.hp.hpl.jena.graph.Graph connectDefaultGraph(Store store)
store - The store containing the dataset for the default graphpublic static com.hp.hpl.jena.graph.Graph connectNamedGraph(String configFile, String iri)
configFile - iri - public static com.hp.hpl.jena.graph.Graph connectNamedGraph(StoreDesc desc, String iri)
desc - iri - public static com.hp.hpl.jena.graph.Graph connectNamedGraph(Store store, String iri)
store - iri - public static com.hp.hpl.jena.graph.Graph connectNamedGraph(String configFile, com.hp.hpl.jena.graph.Node node)
configFile - node - public static com.hp.hpl.jena.graph.Graph connectNamedGraph(StoreDesc desc, com.hp.hpl.jena.graph.Node node)
desc - node - public static com.hp.hpl.jena.graph.Graph connectNamedGraph(Store store, com.hp.hpl.jena.graph.Node node)
store - node - public static com.hp.hpl.jena.rdf.model.Model connectDefaultModel(String configFile)
configFile - Filenamepublic static com.hp.hpl.jena.rdf.model.Model connectDefaultModel(StoreDesc desc)
desc - public static com.hp.hpl.jena.rdf.model.Model connectDefaultModel(Store store)
store - public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(StoreDesc desc, String iri)
desc - iri - public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(Store store, String iri)
store - iri - public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(String configFile, String iri)
configFile - iri - public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(StoreDesc desc, com.hp.hpl.jena.rdf.model.Resource resource)
desc - resource - public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(Store store, com.hp.hpl.jena.rdf.model.Resource resource)
store - resource - public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(String configFile, com.hp.hpl.jena.rdf.model.Resource resource)
configFile - resource - Licenced under the Apache License, Version 2.0