| Package | Description |
|---|---|
| org.rocksdb |
The RocksDB Java driver
|
| Modifier and Type | Method and Description |
|---|---|
PlainTableConfig |
PlainTableConfig.setBloomBitsPerKey(int bitsPerKey)
Set the number of bits per key used by the internal bloom filter
in the plain table sst format.
|
PlainTableConfig |
PlainTableConfig.setEncodingType(EncodingType encodingType)
Sets the encoding type.
|
PlainTableConfig |
PlainTableConfig.setFullScanMode(boolean fullScanMode)
Set full scan mode, if true the whole file will be read
one record by one without using the index.
|
PlainTableConfig |
PlainTableConfig.setHashTableRatio(double ratio)
hashTableRatio is the desired utilization of the hash table used
for prefix hashing.
|
PlainTableConfig |
PlainTableConfig.setHugePageTlbSize(int hugePageTlbSize)
huge_page_tlb_size: if ≤0, allocate hash indexes and blooms
from malloc otherwise from huge page TLB.
|
PlainTableConfig |
PlainTableConfig.setIndexSparseness(int sparseness)
Index sparseness determines the index interval for keys inside the
same prefix.
|
PlainTableConfig |
PlainTableConfig.setKeySize(int keySize)
Set the length of the user key.
|
PlainTableConfig |
PlainTableConfig.setStoreIndexInFile(boolean storeIndexInFile)
If set to true: compute plain table index and bloom
filter during file building and store it in file.
|
Copyright © 2022. All rights reserved.