java.lang.Object
org.apache.jena.tdb.TDBFactory
Deprecated.
Public factory for creating objects datasets backed by TDB1 storage.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.query.DatasetassembleDataset(String assemblerFile) Deprecated.static org.apache.jena.query.DatasetDeprecated.static org.apache.jena.query.DatasetcreateDataset(String dir) Deprecated.static org.apache.jena.query.DatasetcreateDataset(Location location) Deprecated.static org.apache.jena.sparql.core.DatasetGraphDeprecated.static org.apache.jena.sparql.core.DatasetGraphcreateDatasetGraph(String directory) Deprecated.static org.apache.jena.sparql.core.DatasetGraphcreateDatasetGraph(Location location) Deprecated.static booleaninUseLocation(String directory) Deprecated.static booleaninUseLocation(Location location) Deprecated.static booleanisTDB1(org.apache.jena.query.Dataset dataset) Deprecated.static booleanisTDB1(org.apache.jena.sparql.core.DatasetGraph datasetGraph) Deprecated.static Locationlocation(org.apache.jena.query.Dataset dataset) Deprecated.static Locationlocation(org.apache.jena.sparql.core.DatasetGraph datasetGraph) Deprecated.static voidrelease(org.apache.jena.query.Dataset dataset) Deprecated.static voidrelease(org.apache.jena.sparql.core.DatasetGraph dataset) Deprecated.static voidsetup(Location location, StoreParams params)
-
Method Details
-
assembleDataset
Deprecated.Read the file and assembler a dataset. -
createDataset
Deprecated.Create or connect to a TDB-backed dataset. -
createDataset
Deprecated.Create or connect to a TDB-backed dataset. -
createDataset
Deprecated.Create or connect to a TDB dataset backed by an in-memory block manager. For testing. -
createDatasetGraph
@Deprecated public static org.apache.jena.sparql.core.DatasetGraph createDatasetGraph(String directory) Deprecated.Create or connect to a TDB-backed dataset (graph-level). -
createDatasetGraph
@Deprecated public static org.apache.jena.sparql.core.DatasetGraph createDatasetGraph(Location location) Deprecated.Create or connect to a TDB-backed dataset (graph-level). -
createDatasetGraph
Deprecated.Create a TDB-backed dataset (graph-level) in memory (for testing). -
release
Deprecated.Release from the JVM. All caching is lost. -
release
Deprecated.Release from the JVM. All caching is lost. -
isTDB1
Deprecated.Test whether a dataset is backed by TDB. -
isTDB1
Deprecated.Test whether a dataset is backed by TDB. -
location
Deprecated.Return the location of a dataset if it is backed by TDB, else null. -
location
Deprecated.Return the location of a DatasetGraph if it is backed by TDB, else null. -
inUseLocation
Deprecated.Test whether a location already has a TDB database or whether a call to TDBFactory will cause a new, fresh TDB database to be created (pragmatic tests). The directory may be empty, or not exist. Existing databases return "true". -
inUseLocation
Deprecated.Test whether a location already has a TDB database or whether a call to TDBFactory will cause a new, fresh TDB database to be created (pragmatic tests). The directory may be empty, or not exist. Existing databases return "true". -
setup
Deprecated.Set theStoreParamsfor specific Location. This call must only be called before a dataset from Location is created. This operation should be used with care; bad choices ofStoreParamscan reduce performance. See documentation.- Parameters:
location- The persistent storage locationparams- StoreParams to use- Throws:
IllegalStateException- If the dataset has already been setup.
-
TDB1Factory