Skip to main content

Module partition_key

Module partition_key 

Source
Expand description

Canonical typed partition-key encoding for partitioning ABI v1.

The encoded bytes are Arrow row-format bytes produced with ascending, nulls-first sort fields. They are schema-bound rather than self-describing. The separately constructed PartitionKeySchemaV1 freezes the persisted schema descriptor. It is not constructed by routing and adds no work to the record-processing hot path. Changing the admitted type set, row encoding, hash, or vnode mapping requires a partitioning ABI decision.

Structs§

PartitionKeyCodecV1
Vectorized encoder for the exact typed-key representation covered by super::PARTITIONING_ABI_VERSION 2.
PartitionKeySchemaV1
Persistable routing identity for an ordered partition-key schema.

Enums§

PartitionKeyCodecError
Failure to construct the ABI-v1 typed-key encoder.