Class GraphNonTxnTDB

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_LIMIT

    Fields inherited from interface org.apache.jena.graph.Graph

    emptyGraph
  • Constructor Summary

    Constructors
    Constructor
    Description
    GraphNonTxnTDB(DatasetGraphTDB dataset, org.apache.jena.graph.Node graphName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the associated DatasetGraphTDB.
    org.apache.jena.graph.TransactionHandler
     

    Methods inherited from class org.apache.jena.tdb1.store.GraphTDB

    close, getNodeTupleTable, remove, sync

    Methods inherited from class org.apache.jena.sparql.core.GraphView

    clear, createDefaultGraph, createNamedGraph, createUnionGraph, getCapabilities, getDataset, getGraphName, performAdd, performDelete

    Methods 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, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.jena.atlas.lib.Closeable

    close

    Methods 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, stream

    Methods inherited from interface org.apache.jena.atlas.lib.Sync

    sync
  • Constructor Details

    • GraphNonTxnTDB

      public GraphNonTxnTDB(DatasetGraphTDB dataset, org.apache.jena.graph.Node graphName)
  • Method Details

    • getDatasetGraphTDB

      public DatasetGraphTDB getDatasetGraphTDB()
      Description copied from class: GraphTDB
      Return the associated DatasetGraphTDB. For non-transactional, that's the base storage. For transactional, it is the current transaction wrapper DatasetGraphTDB.

      Immediate validity only. Not valid across transaction boundaries, nor non-transactional to transactional.

      Specified by:
      getDatasetGraphTDB in class GraphTDB
    • getDatasetGraphTransaction

      public DatasetGraphTransaction getDatasetGraphTransaction()
      Description copied from class: GraphTDB
      Return the DatasetGraphTransaction. If this wrapping a base DatasetGraphTDB, return null.
      Specified by:
      getDatasetGraphTransaction in class GraphTDB
    • getTransactionHandler

      public org.apache.jena.graph.TransactionHandler getTransactionHandler()
      Specified by:
      getTransactionHandler in interface org.apache.jena.graph.Graph
      Overrides:
      getTransactionHandler in class org.apache.jena.sparql.core.GraphView