| Package | Description |
|---|---|
| org.rocksdb |
The RocksDB Java driver
|
| Modifier and Type | Method and Description |
|---|---|
KeyMayExist |
RocksDB.keyMayExist(ByteBuffer key,
ByteBuffer value)
If the key definitely does not exist in the database, then this method
returns
KeyMayExist.KeyMayExistEnum.kNotExist,
otherwise if it can with best effort retreive the value, it returns KeyMayExist.KeyMayExistEnum.kExistsWithValue otherwise it returns KeyMayExist.KeyMayExistEnum.kExistsWithoutValue. |
KeyMayExist |
RocksDB.keyMayExist(ColumnFamilyHandle columnFamilyHandle,
ByteBuffer key,
ByteBuffer value)
If the key definitely does not exist in the database, then this method
returns
KeyMayExist.KeyMayExistEnum.kNotExist,
otherwise if it can with best effort retreive the value, it returns KeyMayExist.KeyMayExistEnum.kExistsWithValue otherwise it returns KeyMayExist.KeyMayExistEnum.kExistsWithoutValue. |
KeyMayExist |
RocksDB.keyMayExist(ColumnFamilyHandle columnFamilyHandle,
ReadOptions readOptions,
ByteBuffer key,
ByteBuffer value)
If the key definitely does not exist in the database, then this method
returns
KeyMayExist.KeyMayExistEnum.kNotExist,
otherwise if it can with best effort retreive the value, it returns KeyMayExist.KeyMayExistEnum.kExistsWithValue otherwise it returns KeyMayExist.KeyMayExistEnum.kExistsWithoutValue. |
KeyMayExist |
RocksDB.keyMayExist(ReadOptions readOptions,
ByteBuffer key,
ByteBuffer value)
If the key definitely does not exist in the database, then this method
returns
KeyMayExist.KeyMayExistEnum.kNotExist,
otherwise if it can with best effort retreive the value, it returns KeyMayExist.KeyMayExistEnum.kExistsWithValue otherwise it returns KeyMayExist.KeyMayExistEnum.kExistsWithoutValue. |
Copyright © 2022. All rights reserved.