Package | Description |
---|---|
com.hp.hpl.jena.assembler | |
com.hp.hpl.jena.db |
A general database backend for persistent storage of Jena models.
|
com.hp.hpl.jena.rdf.model |
A package for creating and manipulating RDF graphs.
|
Modifier and Type | Method and Description |
---|---|
IDBConnection |
ConnectionDescription.getConnection()
Answer the connection specified by the description.
|
Modifier and Type | Class and Description |
---|---|
class |
DBConnection
Encapsulate the specification of a jdbc connection.
|
Modifier and Type | Method and Description |
---|---|
IDBConnection |
GraphRDB.getConnection()
Return the connection
|
IDBConnection |
ModelRDB.getConnection()
A convenience function to return the connection
|
Modifier and Type | Method and Description |
---|---|
static ModelRDB |
ModelRDB.createModel(IDBConnection dbcon)
Create a new default model on an existing database.
|
static ModelRDB |
ModelRDB.createModel(IDBConnection dbcon,
Model modelProperties)
Create a new model on an existing database.
|
static ModelRDB |
ModelRDB.createModel(IDBConnection dbcon,
String name)
Create a new model on an existing database.
|
static ModelRDB |
ModelRDB.createModel(IDBConnection dbcon,
String name,
Model modelProperties)
Create a new model on an existing database.
|
static Model |
ModelRDB.getDefaultModelProperties(IDBConnection dbcon)
Retrieve a default set of model customization properties
The returned default set of properties is suitable for use in a call to
ModelRDB.create(..., modelProperties);
|
static com.hp.hpl.jena.util.iterator.ExtendedIterator<String> |
ModelRDB.listModels(IDBConnection dbcon)
List the names of all models stored in the database
|
static ModelRDB |
ModelRDB.open(IDBConnection dbcon)
Open the default model from an existing rdf database.
|
static ModelRDB |
ModelRDB.open(IDBConnection dbcon,
String name)
Open an existing rdf database.
|
Constructor and Description |
---|
GraphRDB(IDBConnection con,
String graphID,
Graph requestedProperties,
int reificationBehaviour,
boolean isNew)
Construct a new GraphRDB
|
Modifier and Type | Method and Description |
---|---|
static IDBConnection |
ModelFactory.createSimpleRDBConnection()
Answer a plain IDBConnection to a database, with the arguments implicitly
supplied by system properties:
|
static IDBConnection |
ModelFactory.createSimpleRDBConnection(String url,
String user,
String password,
String dbType)
Answer a plain IDBConnection to a database with the given URL, with
the given user having the given password.
|
Modifier and Type | Method and Description |
---|---|
static ModelMaker |
ModelFactory.createModelRDBMaker(IDBConnection c)
Answer a ModelMaker that accesses database-backed Models on
the database at the other end of the connection c with the usual
Standard reification style.
|
static ModelMaker |
ModelFactory.createModelRDBMaker(IDBConnection c,
ReificationStyle style)
Answer a ModelMaker that accesses database-backed Models on
the database at the other end of the connection c with the given
reification style.
|
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP