TupleMapType - the type of the internal structure holding table dataTupleType - the type of tuple in which a subclass of this class transactsConsumerType - a type of consumer that can accept as many elements as exist in TupleTypepublic abstract class PMapTupleTable<TupleMapType,TupleType,ConsumerType> extends OrderedTupleTable<TupleType,ConsumerType> implements TupleTable<TupleType>
TupleTable that contains some common state management.| Constructor and Description |
|---|
PMapTupleTable(String n,
org.apache.jena.atlas.lib.tuple.TupleMap order) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(ReadWrite rw)
|
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
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, add, deletepublic PMapTupleTable(String n, org.apache.jena.atlas.lib.tuple.TupleMap order)
n - a name for this tablepublic void begin(ReadWrite rw)
begin in interface TransactionalComponentpublic void end()
TransactionalComponentend in interface TransactionalComponentpublic void commit()
TransactionalComponentcommit in interface TransactionalComponentpublic void clear()
TupleTableclear in interface TupleTable<TupleType>Licenced under the Apache License, Version 2.0