java.lang.Object
org.apache.jena.graph.impl.GraphBase
org.apache.jena.sparql.core.GraphView
org.apache.jena.tdb1.store.GraphTDB
org.apache.jena.tdb1.store.GraphTxnTDB
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable,org.apache.jena.atlas.lib.Sync,org.apache.jena.graph.Graph,org.apache.jena.graph.impl.GraphWithPerform,org.apache.jena.sparql.core.NamedGraph
- Direct Known Subclasses:
GraphTxnTDB_Prefixes
public class GraphTxnTDB
extends GraphTDB
implements org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync
Transaction-capable version of
GraphTDB.
Valid across transactions except where noted (caution: prefix mappings are not).
Valid to use when TDB is not transactional.- See Also:
-
Field Summary
Fields inherited from class org.apache.jena.graph.impl.GraphBase
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMITFields inherited from interface org.apache.jena.graph.Graph
emptyGraph -
Constructor Summary
ConstructorsConstructorDescriptionGraphTxnTDB(DatasetGraphTransaction dataset, org.apache.jena.graph.Node graphName) -
Method Summary
Modifier and TypeMethodDescriptionReturn the associated DatasetGraphTDB.Return theDatasetGraphTransaction.Methods inherited from class org.apache.jena.tdb1.store.GraphTDB
close, getNodeTupleTable, remove, syncMethods inherited from class org.apache.jena.sparql.core.GraphView
clear, createDefaultGraph, createNamedGraph, createUnionGraph, getCapabilities, getDataset, getGraphName, getTransactionHandler, performAdd, performDeleteMethods inherited from class org.apache.jena.graph.impl.GraphBase
add, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getPrefixMapping, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, size, toString, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.atlas.lib.Closeable
closeMethods inherited from interface org.apache.jena.graph.Graph
add, add, contains, contains, delete, delete, dependsOn, find, find, find, getEventManager, getPrefixMapping, isClosed, isEmpty, isIsomorphicWith, size, sizeLong, stream, streamMethods inherited from interface org.apache.jena.atlas.lib.Sync
sync
-
Constructor Details
-
GraphTxnTDB
-
-
Method Details
-
getDatasetGraphTransaction
Description copied from class:GraphTDBReturn theDatasetGraphTransaction. If this wrapping a baseDatasetGraphTDB, return null.- Specified by:
getDatasetGraphTransactionin classGraphTDB
-
getDatasetGraphTDB
Description copied from class:GraphTDBReturn the associated DatasetGraphTDB. For non-transactional, that's the base storage. For transactional, it is the current transaction wrapperDatasetGraphTDB.Immediate validity only. Not valid across transaction boundaries, nor non-transactional to transactional.
- Specified by:
getDatasetGraphTDBin classGraphTDB
-