|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hp.hpl.jena.tdb.TDBFactory
public class TDBFactory
Public factory for creating objects (graphs, datasest) associated with TDB
| Nested Class Summary | |
|---|---|
static interface |
TDBFactory.ImplFactory
Interface to maker of the actual implementations of TDB graphs and datasets |
| Field Summary | |
|---|---|
static TDBFactory.ImplFactory |
pgraphFactory
|
static TDBFactory.ImplFactory |
stdFactory
|
| Constructor Summary | |
|---|---|
TDBFactory()
|
|
| Method Summary | |
|---|---|
static com.hp.hpl.jena.query.Dataset |
assembleDataset(java.lang.String assemblerFile)
Read the file and assembler a dataset |
static com.hp.hpl.jena.graph.Graph |
assembleGraph(java.lang.String assemblerFile)
Read the file and assembler a graph, of type TDB persistent graph |
static com.hp.hpl.jena.rdf.model.Model |
assembleModel(java.lang.String assemblerFile)
Read the file and assembler a model, of type TDB persistent graph |
static com.hp.hpl.jena.query.Dataset |
createDataset()
Create or connect to a TDB dataset backed by an in-memory block manager. |
static com.hp.hpl.jena.query.Dataset |
createDataset(com.hp.hpl.jena.tdb.base.file.Location location)
Create or connect to a TDB-backed dataset |
static com.hp.hpl.jena.query.Dataset |
createDataset(java.lang.String dir)
Create or connect to a TDB-backed dataset |
static com.hp.hpl.jena.graph.Graph |
createGraph()
Create a TDB graph backed by an in-memory block manager. |
static com.hp.hpl.jena.graph.Graph |
createGraph(com.hp.hpl.jena.tdb.base.file.Location loc)
Create a graph, at the given location |
static com.hp.hpl.jena.graph.Graph |
createGraph(java.lang.String dir)
Create a graph, at the given location |
static com.hp.hpl.jena.rdf.model.Model |
createModel()
Create a TDB model backed by an in-memory block manager. |
static com.hp.hpl.jena.rdf.model.Model |
createModel(com.hp.hpl.jena.tdb.base.file.Location loc)
Create a model, at the given location |
static com.hp.hpl.jena.rdf.model.Model |
createModel(java.lang.String dir)
Create a model, at the given location |
static void |
setImplFactory(TDBFactory.ImplFactory f)
Set the implementation factory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final TDBFactory.ImplFactory pgraphFactory
public static final TDBFactory.ImplFactory stdFactory
| Constructor Detail |
|---|
public TDBFactory()
| Method Detail |
|---|
public static com.hp.hpl.jena.rdf.model.Model assembleModel(java.lang.String assemblerFile)
public static com.hp.hpl.jena.graph.Graph assembleGraph(java.lang.String assemblerFile)
public static com.hp.hpl.jena.query.Dataset assembleDataset(java.lang.String assemblerFile)
public static com.hp.hpl.jena.rdf.model.Model createModel(com.hp.hpl.jena.tdb.base.file.Location loc)
public static com.hp.hpl.jena.rdf.model.Model createModel(java.lang.String dir)
public static com.hp.hpl.jena.graph.Graph createGraph(com.hp.hpl.jena.tdb.base.file.Location loc)
public static com.hp.hpl.jena.graph.Graph createGraph(java.lang.String dir)
public static com.hp.hpl.jena.rdf.model.Model createModel()
public static com.hp.hpl.jena.graph.Graph createGraph()
public static com.hp.hpl.jena.query.Dataset createDataset(java.lang.String dir)
public static com.hp.hpl.jena.query.Dataset createDataset(com.hp.hpl.jena.tdb.base.file.Location location)
public static com.hp.hpl.jena.query.Dataset createDataset()
public static void setImplFactory(TDBFactory.ImplFactory f)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||