Package org.apache.jena.sparql.core.mem
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidabort()Abort a transaction - finish the transaction and undo any changes (if a "write" transaction)voidadd(TupleType t)Add a tuple to the tablevoidclear()Clear all tuples from this table.voiddelete(TupleType t)Remove a tuple from the table-
Methods inherited from interface org.apache.jena.sparql.core.mem.TransactionalComponent
begin, commit, end
-
-
-
-
Method Detail
-
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:TransactionalComponentAbort a transaction - finish the transaction and undo any changes (if a "write" transaction)- Specified by:
abortin interfaceTransactionalComponent
-
clear
void clear()
Clear all tuples from this table.
-
-