public interface Tx extends BasicOps, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
void |
delete(Kind kind,
byte[] key) |
byte[] |
deleteIfPresent(Kind kind,
byte[] key) |
void |
disableIndexing() |
void |
enableIndexing() |
byte[] |
findMaxKey(Kind kind,
byte[] keyPrefix) |
byte[] |
findMaxKeyLessThan(Kind kind,
byte[] keyPrefix,
byte[] upperBound) |
byte[] |
findMinKey(Kind kind,
byte[] keyPrefix) |
byte[] |
findMinKeyGreaterThan(Kind kind,
byte[] keyPrefix,
byte[] lowerBound) |
byte[] |
get(Kind kind,
byte[] key) |
byte[] |
getForUpdate(Kind kind,
byte[] key) |
byte[] |
getForUpdate(Kind kind,
byte[] key,
boolean exclusive) |
byte[][] |
multiGet(List<Kind> kinds,
byte[][] keys) |
byte[][] |
multiGetForUpdate(List<Kind> kinds,
byte[][] keys) |
void |
put(Kind kind,
byte[] key,
byte[] value) |
void |
putIfAbsent(Kind kind,
byte[] key,
byte[] value) |
void |
rollback() |
ForEachKeyValue |
scanAll(Kind kind) |
ForEachKeyValue |
scanAll(Kind kind,
byte[] beginKey) |
ForEachKeyValue |
scanRange(Kind kind,
byte[] beginKey,
byte[] endKey) |
void |
setLockTimeout(long lockTimeoutMillis) |
void |
singleDelete(Kind kind,
byte[] key) |
void |
undoGetForUpdate(Kind kind,
byte[] key) |
byte[] |
updateIfPresent(Kind kind,
byte[] key,
byte[] value) |
void commit()
void rollback()
void close()
close in interface AutoCloseablevoid disableIndexing()
void enableIndexing()
void setLockTimeout(long lockTimeoutMillis)
void putIfAbsent(Kind kind, byte[] key, byte[] value)
byte[] getForUpdate(Kind kind, byte[] key)
byte[] getForUpdate(Kind kind, byte[] key, boolean exclusive)
void undoGetForUpdate(Kind kind, byte[] key)
byte[] deleteIfPresent(Kind kind, byte[] key)
void singleDelete(Kind kind, byte[] key)
byte[] updateIfPresent(Kind kind, byte[] key, byte[] value)
updateIfPresent in interface BasicOpsForEachKeyValue scanAll(Kind kind)
ForEachKeyValue scanAll(Kind kind, byte[] beginKey)
ForEachKeyValue scanRange(Kind kind, byte[] beginKey, byte[] endKey)
byte[] findMinKey(Kind kind, byte[] keyPrefix)
byte[] findMaxKey(Kind kind, byte[] keyPrefix)
byte[] findMaxKeyLessThan(Kind kind, byte[] keyPrefix, byte[] upperBound)
byte[] findMinKeyGreaterThan(Kind kind, byte[] keyPrefix, byte[] lowerBound)
Copyright © 2021. All rights reserved.