Enum IndexShortening
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
How much of the index key RocksDb may discard to save space.
public enum IndexShortening
Fields
NoShortening = 0Store full keys in the index.
ShortenSeparators = 1Shorten the separator keys between blocks, but keep the last index key whole since it bounds the file.
ShortenSeparatorsAndSuccessor = 2Shorten both the separators and the key after the last block.
Remarks
Mirrored from BlockBasedTableOptions::IndexShorteningMode in
include/rocksdb/table.h because the C API declares this parameter as a
plain int.