|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hp.hpl.jena.sdb.SDBFactory
public class SDBFactory
Various operations to create or connect objects to do with SDB: SDBConnections, Stores, Models, Graphs. Convenience calls.
| Constructor Summary | |
|---|---|
SDBFactory()
|
|
| Method Summary | |
|---|---|
static com.hp.hpl.jena.query.Dataset |
connectDataset(java.sql.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(com.hp.hpl.jena.sdb.sql.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(java.lang.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(java.lang.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(java.lang.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(java.sql.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(com.hp.hpl.jena.sdb.sql.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(java.lang.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,
java.lang.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,
java.lang.String iri)
Connect to a named graph in a store. |
static com.hp.hpl.jena.graph.Graph |
connectNamedGraph(java.lang.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(java.lang.String configFile,
java.lang.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,
java.lang.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,
java.lang.String iri)
Connect to the named model in a store |
static com.hp.hpl.jena.rdf.model.Model |
connectNamedModel(java.lang.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(java.lang.String configFile,
java.lang.String iri)
Connect to the named model in a store |
static Store |
connectStore(java.sql.Connection sqlConnection,
StoreDesc desc)
Connect to a store, based on an existing JDBC connection and a store description. |
static Store |
connectStore(com.hp.hpl.jena.sdb.sql.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(java.lang.String configFile)
Connect to a store, based on store and connection descriptions in a file. |
static com.hp.hpl.jena.sdb.sql.SDBConnection |
createConnection(java.sql.Connection conn)
Create a connection to a database from a JDBC connection. |
static com.hp.hpl.jena.sdb.sql.SDBConnection |
createConnection(com.hp.hpl.jena.sdb.sql.SDBConnectionDesc desc)
Create a connection to a database from connection description. |
static com.hp.hpl.jena.sdb.sql.SDBConnection |
createConnection(java.lang.String configFile)
Create a connection to a database from connection description in a file. |
static com.hp.hpl.jena.sdb.sql.SDBConnection |
createConnection(java.lang.String jdbcURL,
java.lang.String user,
java.lang.String password)
Create a connection to a database. |
static java.sql.Connection |
createSqlConnection(com.hp.hpl.jena.rdf.model.Model model)
Create JDBC connection associated with the SDB connection description in a model. |
static java.sql.Connection |
createSqlConnection(com.hp.hpl.jena.sdb.sql.SDBConnectionDesc desc)
Create JDBC connection associated with the SDB connection description. |
static java.sql.Connection |
createSqlConnection(java.lang.String configFile)
Create JDBC connection associated with the SDB connection description in a file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SDBFactory()
| Method Detail |
|---|
public static com.hp.hpl.jena.sdb.sql.SDBConnection createConnection(java.lang.String jdbcURL,
java.lang.String user,
java.lang.String password)
jdbcURL - user - password -
public static com.hp.hpl.jena.sdb.sql.SDBConnection createConnection(com.hp.hpl.jena.sdb.sql.SDBConnectionDesc desc)
desc - SDB connection description
public static com.hp.hpl.jena.sdb.sql.SDBConnection createConnection(java.sql.Connection conn)
conn - JDBC connection
public static com.hp.hpl.jena.sdb.sql.SDBConnection createConnection(java.lang.String configFile)
configFile - Filename to be read and parsed (Jena assembler)
public static java.sql.Connection createSqlConnection(com.hp.hpl.jena.sdb.sql.SDBConnectionDesc desc)
desc - SDB connection description
public static java.sql.Connection createSqlConnection(java.lang.String configFile)
configFile - Filename
public static java.sql.Connection createSqlConnection(com.hp.hpl.jena.rdf.model.Model model)
model - Model
public static Store connectStore(java.lang.String configFile)
configFile - Filename for assembler for Store and SDBConenction
public static Store connectStore(StoreDesc desc)
desc - Store description object
public static Store connectStore(com.hp.hpl.jena.sdb.sql.SDBConnection sdbConnection,
StoreDesc desc)
sdbConnection - SDBConnection objectdesc - Store description object
public static Store connectStore(java.sql.Connection sqlConnection,
StoreDesc desc)
sqlConnection - JDBC connectiondesc - Store description object
public static com.hp.hpl.jena.query.Dataset connectDataset(Store store)
store -
public static com.hp.hpl.jena.query.Dataset connectDataset(StoreDesc desc)
desc - Store description
public static com.hp.hpl.jena.query.Dataset connectDataset(com.hp.hpl.jena.sdb.sql.SDBConnection sdbConnection,
StoreDesc desc)
sdbConnection - SDB connectiondesc - Store description object
public static com.hp.hpl.jena.query.Dataset connectDataset(java.sql.Connection jdbcConnection,
StoreDesc desc)
jdbcConnection - JDBC connectiondesc - Store description object
public static com.hp.hpl.jena.query.Dataset connectDataset(java.lang.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 description
public static com.hp.hpl.jena.update.GraphStore connectGraphStore(com.hp.hpl.jena.sdb.sql.SDBConnection sdbConnection,
StoreDesc desc)
sdbConnection - SDB connectiondesc - Store description object
public static com.hp.hpl.jena.update.GraphStore connectGraphStore(java.sql.Connection jdbcConnection,
StoreDesc desc)
jdbcConnection - JDBC connectiondesc - Store description object
public static com.hp.hpl.jena.update.GraphStore connectGraphStore(java.lang.String configFile)
configFile -
public static com.hp.hpl.jena.graph.Graph connectDefaultGraph(java.lang.String configFile)
configFile -
public static com.hp.hpl.jena.graph.Graph connectDefaultGraph(StoreDesc desc)
desc - Store description object
public static com.hp.hpl.jena.graph.Graph connectDefaultGraph(Store store)
store - The store containing the dataset for the default graph
public static com.hp.hpl.jena.graph.Graph connectNamedGraph(java.lang.String configFile,
java.lang.String iri)
configFile - iri -
public static com.hp.hpl.jena.graph.Graph connectNamedGraph(StoreDesc desc,
java.lang.String iri)
desc - iri -
public static com.hp.hpl.jena.graph.Graph connectNamedGraph(Store store,
java.lang.String iri)
store - iri -
public static com.hp.hpl.jena.graph.Graph connectNamedGraph(java.lang.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(java.lang.String configFile)
configFile - Filename
public 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,
java.lang.String iri)
desc - iri -
public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(Store store,
java.lang.String iri)
store - iri -
public static com.hp.hpl.jena.rdf.model.Model connectNamedModel(java.lang.String configFile,
java.lang.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(java.lang.String configFile,
com.hp.hpl.jena.rdf.model.Resource resource)
configFile - resource -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||