Expand description
Key dictionary of a shard.
Structsยง
- Dict
Block ๐A block in the key dictionary. - Reader to scan the KeyDictBuilder.
- KeyBuffer ๐Buffer to store unsorted primary keys.
- A key dictionary.
- 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ยง
- PkIndex
Map ๐The key is mcmp-encoded primary keys, while the values are the pk index and optionally sparsely encoded primary keys.