public interface TransactionSetInterface
Modifier and Type | Method and Description |
---|---|
void |
Close() |
boolean |
contains(TransactionId transactionId,
java.lang.Comparable o)
Contains a value object
|
java.lang.Object |
first(TransactionId transactionId)
Get the value of the object associated with first key
|
java.lang.Object |
get(TransactionId transactionId,
java.lang.Comparable o)
Cause the b seekKey for the Comparable type.
|
java.lang.String |
getDBName() |
org.rocksdb.TransactionDB |
getKVStore() |
java.lang.Object |
getMutexObject() |
Session |
getSession() |
boolean |
isEmpty(TransactionId transactionId)
Is the KVStore empty?
|
java.util.Iterator<?> |
iterator(TransactionId transactionId)
Returns iterator
|
java.lang.Object |
last(TransactionId transactionId)
Get the last object associated with greatest valued key in the KVStore
|
void |
Open()
Open the files associated with the BTree for the instances of class
|
java.lang.Object |
remove(TransactionId transactionId,
java.lang.Comparable o)
Remove the key and value of the parameter.
|
long |
size(TransactionId transactionId)
Get the number of keys total.
|
java.lang.String getDBName()
java.lang.Object getMutexObject()
java.lang.Object get(TransactionId transactionId, java.lang.Comparable o) throws java.io.IOException
o
- the Comparable object to seek.java.io.IOException
java.util.Iterator<?> iterator(TransactionId transactionId) throws java.io.IOException
java.io.IOException
- If we cannot obtain the iteratorboolean contains(TransactionId transactionId, java.lang.Comparable o) throws java.io.IOException
o
- java.io.IOException
java.lang.Object remove(TransactionId transactionId, java.lang.Comparable o) throws java.io.IOException
java.io.IOException
java.lang.Object first(TransactionId transactionId) throws java.io.IOException
java.io.IOException
java.lang.Object last(TransactionId transactionId) throws java.io.IOException
java.io.IOException
long size(TransactionId transactionId) throws java.io.IOException
java.io.IOException
boolean isEmpty(TransactionId transactionId) throws java.io.IOException
java.io.IOException
void Open() throws java.io.IOException
java.io.IOException
org.rocksdb.TransactionDB getKVStore()
void Close() throws java.io.IOException
java.io.IOException
Session getSession() throws java.io.IOException
java.io.IOException