public interface StoreOps extends BasicOps, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Batch |
createBatch() |
void |
delete(Kind kind,
byte[] key) |
byte[] |
deleteIfPresent(Kind kind,
byte[] key) |
byte[] |
findMaxKey(Kind kind) |
byte[] |
findMaxKeyByPrefix(Kind kind,
byte[] keyPrefix) |
byte[] |
findMaxKeyByUpperBound(Kind kind,
byte[] upperBound) |
byte[] |
findMaxKeyLessThan(Kind kind,
byte[] keyPrefix,
byte[] upperBound) |
byte[] |
findMinKey(Kind kind) |
byte[] |
findMinKeyByLowerBound(Kind kind,
byte[] lowerBound) |
byte[] |
findMinKeyByPrefix(Kind kind,
byte[] keyPrefix) |
byte[] |
findMinKeyGreaterThan(Kind kind,
byte[] keyPrefix,
byte[] lowerBound) |
void |
flush() |
void |
flushNoWait() |
byte[] |
get(Kind kind,
byte[] key) |
KindManagement |
getKindManagement() |
Stats |
getStats() |
boolean |
isOpen() |
void |
put(Kind kind,
byte[] key,
byte[] value) |
void |
putIfAbsent(Kind kind,
byte[] key,
byte[] value) |
ForEachKeyValue |
scanAll(Kind kind) |
ForEachKeyValue |
scanAll(Kind kind,
byte[] beginKey) |
ForEachKeyValue |
scanRange(Kind kind,
byte[] beginKey,
byte[] endKey) |
Tx |
startTx() |
void |
syncWAL() |
byte[] |
updateIfPresent(Kind kind,
byte[] key,
byte[] value) |
void |
writeBatch(Batch batch) |
void close()
close in interface AutoCloseablevoid putIfAbsent(Kind kind, byte[] key, byte[] value)
byte[] deleteIfPresent(Kind kind, byte[] key)
byte[] updateIfPresent(Kind kind, byte[] key, byte[] value)
updateIfPresent in interface BasicOpsBatch createBatch()
void writeBatch(Batch batch)
ForEachKeyValue scanAll(Kind kind)
ForEachKeyValue scanAll(Kind kind, byte[] beginKey)
ForEachKeyValue scanRange(Kind kind, byte[] beginKey, byte[] endKey)
byte[] findMinKey(Kind kind)
byte[] findMinKeyByPrefix(Kind kind, byte[] keyPrefix)
byte[] findMinKeyByLowerBound(Kind kind, byte[] lowerBound)
byte[] findMinKeyGreaterThan(Kind kind, byte[] keyPrefix, byte[] lowerBound)
byte[] findMaxKey(Kind kind)
byte[] findMaxKeyByPrefix(Kind kind, byte[] keyPrefix)
byte[] findMaxKeyByUpperBound(Kind kind, byte[] upperBound)
byte[] findMaxKeyLessThan(Kind kind, byte[] keyPrefix, byte[] upperBound)
Tx startTx()
void syncWAL()
boolean isOpen()
void flush()
void flushNoWait()
KindManagement getKindManagement()
Stats getStats()
Copyright © 2021. All rights reserved.