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.GraphNonTxnTDB
- 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
public class GraphNonTxnTDB
extends GraphTDB
implements org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync
Non-transactional version of
GraphTDB.
Handed out by DatasetGraphTDB when used directly (e.g. by the loader)
but not for API or SPARQL usage.- 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
ConstructorsConstructorDescriptionGraphNonTxnTDB(DatasetGraphTDB dataset, org.apache.jena.graph.Node graphName) -
Method Summary
Modifier and TypeMethodDescriptionReturn the associated DatasetGraphTDB.Return theDatasetGraphTransaction.org.apache.jena.graph.TransactionHandlerMethods 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, 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
-
GraphNonTxnTDB
-
-
Method Details
-
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
-
getDatasetGraphTransaction
Description copied from class:GraphTDBReturn theDatasetGraphTransaction. If this wrapping a baseDatasetGraphTDB, return null.- Specified by:
getDatasetGraphTransactionin classGraphTDB
-
getTransactionHandler
public org.apache.jena.graph.TransactionHandler getTransactionHandler()- Specified by:
getTransactionHandlerin interfaceorg.apache.jena.graph.Graph- Overrides:
getTransactionHandlerin classorg.apache.jena.sparql.core.GraphView
-