Table of Contents

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 = 0

Store full keys in the index.

ShortenSeparators = 1

Shorten the separator keys between blocks, but keep the last index key whole since it bounds the file.

ShortenSeparatorsAndSuccessor = 2

Shorten 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.