Skip to main content

Module partition

Module partition 

Source
Expand description

Declarative partition validation, value comparison, and routing semantics.

Structs§

PartitionContext

Traits§

PartitionCatalog
Hierarchy definitions needed to validate and route a row; no storage writes are exposed.
PartitionExpressions
Evaluate declared partition keys and bounds with the caller’s expression scope.

Functions§

partition_constraint_accepts_document
Evaluate a retained detached-partition CHECK without requiring a live parent edge. This is also the exact predicate used for prospective ATTACH row scans.
partition_hierarchy_root
partition_identity_owner
Return the physical counter owner for legacy auto-increment metadata. Declarative partitions share the top partitioned parent’s counter; newly created SERIAL and identity columns use their durable sequence binding instead.
partition_insert_target
prospective_partition_bound_accepts_document
Test one stored row against a prospective direct-child bound before the hierarchy edge is installed. DEFAULT means no existing non-default sibling accepts the row, matching the routing decision the new edge will expose.
validate_hash_partition_spec
validate_new_partition_bound