Class PMapTupleTable<TupleMapType,​TupleType,​ConsumerType>

  • Type Parameters:
    TupleMapType - the type of the internal structure holding table data
    TupleType - the type of tuple in which a subclass of this class transacts
    ConsumerType - a type of consumer that can accept as many elements as exist in TupleType
    All Implemented Interfaces:
    TransactionalComponent, TupleTable<TupleType>
    Direct Known Subclasses:
    PMapQuadTable, PMapTripleTable

    public abstract class PMapTupleTable<TupleMapType,​TupleType,​ConsumerType>
    extends OrderedTupleTable<TupleType,​ConsumerType>
    implements TupleTable<TupleType>
    A partial implementation of TupleTable that contains some common state management.
    • Constructor Summary

      Constructors 
      Constructor Description
      PMapTupleTable​(java.lang.String n, org.apache.jena.atlas.lib.tuple.TupleMap order)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void begin​(ReadWrite rw)
      local is initialized via initial()
      void clear()
      Clear all tuples from this table.
      void commit()
      Commit a transaction - finish the transaction and make any changes permanent (if a "write" transaction)
      void end()
      Finish the transaction - if a write transaction and commit() has not been called, then abort
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PMapTupleTable

        public PMapTupleTable​(java.lang.String n,
                              org.apache.jena.atlas.lib.tuple.TupleMap order)
        Parameters:
        n - a name for this table