Skip to main content

Module index_values

Module index_values 

Source
Expand description

Shared value semantics for materialized expression index keys.

Constants§

LOWERCASE_EXPANSION
Maximum scalar-count expansion of Rust’s supported Unicode lowercase mapping. The exhaustive Unicode unit proof detects any future toolchain expansion.

Functions§

comparison_key
Resolves an ordinary logical key to its exact physical comparison representation.
derived_fields
Includes JSON comparison keys and declared Unicode expression keys once each.
derived_key
Resolves the protected physical key for one declared source field.
derived_value
Computes protected values through a single backend-neutral implementation.
inline_field_capacity 🔒
Accounts for bounded inline values and external-value descriptors conservatively.
json_comparison_key
Creates a bounded adapter-owned JSON comparison column name.
json_comparison_value
Encodes canonical JSON as UTF-8 text for identical equality and ordering.
lowercase_fields
Lists source fields that participate in lowercase expression keys.
lowercase_key
Creates a bounded adapter-owned column name without app identifier collisions.
lowercase_value
Applies Rust’s locale-independent Unicode lowercase mapping with contextual rules. Null remains null; ordinary index fields always retain their original values.
reference_keys
Maps a JSON relationship to the canonical keys used for its native constraint.
validate_entity_budget
Bounds complete physical declarations, including protected and conditional keys. All adapters share these limits; oversized declarations fail before storage access.
validate_index_budget
Enforces a portable full-key budget before any native index is created.
validate_lowercase_sources
Checks the expression source type before any physical backend receives a schema.