| Package | Description |
|---|---|
| org.rocksdb |
The RocksDB Java driver
|
| Modifier and Type | Method and Description |
|---|---|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockAlign(boolean blockAlign)
Set whether data blocks should be aligned on the lesser of page size
and block size.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockCache(Cache blockCache)
Use the specified cache for blocks.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockCacheCompressed(Cache blockCacheCompressed)
Use the specified cache for compressed blocks.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockCacheCompressedNumShardBits(int blockCacheCompressedNumShardBits)
Deprecated.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockCacheCompressedSize(long blockCacheCompressedSize)
Deprecated.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockCacheSize(long blockCacheSize)
Deprecated.
Use
setBlockCache(Cache). |
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockRestartInterval(int restartInterval)
Set the block restart interval.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockSize(long blockSize)
Approximate size of user data packed per block.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setBlockSizeDeviation(int blockSizeDeviation)
This is used to close a block before it reaches the configured
blockSize(). |
BlockBasedTableConfig |
BlockBasedTableConfig.setCacheIndexAndFilterBlocks(boolean cacheIndexAndFilterBlocks)
Indicating if we'd put index/filter blocks to the block cache.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setCacheIndexAndFilterBlocksWithHighPriority(boolean cacheIndexAndFilterBlocksWithHighPriority)
If true, cache index and filter blocks with high priority.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setCacheNumShardBits(int blockCacheNumShardBits)
Deprecated.
Use
setBlockCache(Cache). |
BlockBasedTableConfig |
BlockBasedTableConfig.setChecksumType(ChecksumType checksumType)
Sets
|
BlockBasedTableConfig |
BlockBasedTableConfig.setDataBlockHashTableUtilRatio(double dataBlockHashTableUtilRatio)
Set the #entries/#buckets.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setDataBlockIndexType(DataBlockIndexType dataBlockIndexType)
Sets the data block index type to used with this table.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setEnableIndexCompression(boolean enableIndexCompression)
Store index blocks on disk in compressed format.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setFilter(Filter filter)
Deprecated.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setFilterPolicy(Filter filterPolicy)
Use the specified filter policy to reduce disk reads.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setFormatVersion(int formatVersion)
We currently have five versions:
0 - This version is currently written
out by all RocksDB's versions by default.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setHashIndexAllowCollision(boolean hashIndexAllowCollision)
Deprecated.
This option is now deprecated. No matter what value it
is set to, it will behave as
if
hashIndexAllowCollision() == true. |
BlockBasedTableConfig |
BlockBasedTableConfig.setIndexBlockRestartInterval(int restartInterval)
Set the index block restart interval
|
BlockBasedTableConfig |
BlockBasedTableConfig.setIndexShortening(IndexShorteningMode indexShortening)
Set the index shortening mode.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setIndexType(IndexType indexType)
Sets the index type to used with this table.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setMetadataBlockSize(long metadataBlockSize)
Set block size for partitioned metadata.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setNoBlockCache(boolean noBlockCache)
Disable block cache.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setOptimizeFiltersForMemory(boolean optimizeFiltersForMemory)
Option to generate Bloom filters that minimize memory
internal fragmentation.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setPartitionFilters(boolean partitionFilters)
Use partitioned full filters for each SST file.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setPersistentCache(PersistentCache persistentCache)
Use the specified persistent cache.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setPinL0FilterAndIndexBlocksInCache(boolean pinL0FilterAndIndexBlocksInCache)
Indicating if we'd like to pin L0 index/filter blocks to the block cache.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setPinTopLevelIndexAndFilter(boolean pinTopLevelIndexAndFilter)
If cacheIndexAndFilterBlocks is true and the below is true, then
the top-level index of partitioned filter and index blocks are stored in
the cache, but a reference is held in the "table reader" object so the
blocks are pinned and only evicted from cache when the table reader is
freed.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setReadAmpBytesPerBit(int readAmpBytesPerBit)
Set the Read amplification bytes per-bit.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setUseDeltaEncoding(boolean useDeltaEncoding)
Use delta encoding to compress keys in blocks.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setVerifyCompression(boolean verifyCompression)
Verify that decompressing the compressed block gives back the input.
|
BlockBasedTableConfig |
BlockBasedTableConfig.setWholeKeyFiltering(boolean wholeKeyFiltering)
If true, place whole keys in the filter (not just prefixes).
|
Copyright © 2022. All rights reserved.