Interface TupleTable<TupleType>

Type Parameters:
TupleType - the type of tuple stored herein
All Superinterfaces:
TransactionalComponent
All Known Subinterfaces:
QuadTable, TripleTable
All Known Implementing Classes:
HexTable, OrderedTupleTable, PMapQuadTable, PMapTripleTable, PMapTupleTable, TriTable

public interface TupleTable<TupleType> extends TransactionalComponent
A mutable table of tuples. The expectation is that some kind of query functionality will be provided by subtypes.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Abort a transaction - finish the transaction and undo any changes (if a "write" transaction)
    void
    Add a tuple to the table
    void
    Clear all tuples from this table.
    void
    Remove a tuple from the table

    Methods inherited from interface org.apache.jena.sparql.core.mem.TransactionalComponent

    begin, commit, end
  • Method Details

    • add

      void add(TupleType t)
      Add a tuple to the table
      Parameters:
      t - the tuple to add
    • delete

      void delete(TupleType t)
      Remove a tuple from the table
      Parameters:
      t - the tuple to remove
    • abort

      default void abort()
      Description copied from interface: TransactionalComponent
      Abort a transaction - finish the transaction and undo any changes (if a "write" transaction)
      Specified by:
      abort in interface TransactionalComponent
    • clear

      void clear()
      Clear all tuples from this table.