public class SimpleLocalStorageBackend extends java.lang.Object implements 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.
Constructor and Description |
---|
SimpleLocalStorageBackend() |
Modifier and Type | Method and Description |
---|---|
SimpleBinaryTable<java.lang.Object,java.lang.Object> |
createBinaryTable(IInputKey key,
ITableContext tableContext,
boolean unique)
Creates an index table for a simple source-target bidirectional mapping.
|
SimpleUnaryTable<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.
|
public void startTransaction()
IStorageBackend
IIndexTable
methods may return stale answers) for better performance.startTransaction
in interface IStorageBackend
public void finishTransaction()
IStorageBackend
finishTransaction
in interface IStorageBackend
public SimpleUnaryTable<java.lang.Object> createUnaryTable(IInputKey key, ITableContext tableContext, boolean unique)
IStorageBackend
createUnaryTable
in interface IStorageBackend
unique
- client promises to only insert a given tuple with multiplicity onepublic SimpleBinaryTable<java.lang.Object,java.lang.Object> createBinaryTable(IInputKey key, ITableContext tableContext, boolean unique)
IStorageBackend
createBinaryTable
in interface IStorageBackend
unique
- client promises to only insert a given tuple with multiplicity one