Expand description
Key dictionary of a shard.
Structsยง
- Dict
Block ๐ - A block in the key dictionary.
 - Dict
Builder Reader  - Reader to scan the KeyDictBuilder.
 - KeyBuffer ๐
 - Buffer to store unsorted primary keys.
 - KeyDict
 - A key dictionary.
 - KeyDict
Builder  - Builder to build a key dictionary.
 
Constantsยง
- MAX_
KEYS_ ๐PER_ BLOCK  - Maximum keys in a DictBlock.
 
Functionsยง
- compute_
pk_ ๐weights  - Returns pk weights to sort a data part and replaces pk indices.
 
Type Aliasesยง
- KeyDict
Ref  - PkIndex
Map ๐ - The key is mcmp-encoded primary keys, while the values are the pk index and optionally sparsely encoded primary keys.