| Package | Description |
|---|---|
| org.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RocksDB.keyMayExist(byte[] key,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
boolean |
RocksDB.keyMayExist(byte[] key,
int offset,
int len,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
boolean |
RocksDB.keyMayExist(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
boolean |
RocksDB.keyMayExist(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
int offset,
int len,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
boolean |
RocksDB.keyMayExist(ColumnFamilyHandle columnFamilyHandle,
ReadOptions readOptions,
byte[] key,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
boolean |
RocksDB.keyMayExist(ColumnFamilyHandle columnFamilyHandle,
ReadOptions readOptions,
byte[] key,
int offset,
int len,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
boolean |
RocksDB.keyMayExist(ReadOptions readOptions,
byte[] key,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
boolean |
RocksDB.keyMayExist(ReadOptions readOptions,
byte[] key,
int offset,
int len,
Holder<byte[]> valueHolder)
If the key definitely does not exist in the database, then this method
returns null, else it returns an instance of KeyMayExistResult
If the caller wants to obtain value when the key
is found in memory, then
valueHolder must be set. |
Copyright © 2021. All rights reserved.