public interface IStorageBackend
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same.
Modifier and Type | Method and Description |
---|---|
ITableWriterBinary.Table<java.lang.Object,java.lang.Object> |
createBinaryTable(IInputKey key,
ITableContext tableContext,
boolean unique)
Creates an index table for a simple source-target bidirectional mapping.
|
ITableWriterUnary.Table<java.lang.Object> |
createUnaryTable(IInputKey key,
ITableContext tableContext,
boolean unique)
Creates an index table for a simple value set.
|
void |
finishTransaction()
Marks the end of a transaction.
|
void |
startTransaction()
Marks the beginning of a transaction.
|
void startTransaction()
IIndexTable
methods may return stale answers) for better performance.void finishTransaction()
ITableWriterUnary.Table<java.lang.Object> createUnaryTable(IInputKey key, ITableContext tableContext, boolean unique)
unique
- client promises to only insert a given tuple with multiplicity oneITableWriterBinary.Table<java.lang.Object,java.lang.Object> createBinaryTable(IInputKey key, ITableContext tableContext, boolean unique)
unique
- client promises to only insert a given tuple with multiplicity one