Expand description
Byte-level comparison and hashing for MessagePack field values.
Operates on raw byte ranges returned by extract_field. Used for
join key matching, GROUP BY key deduplication, ORDER BY, and DISTINCT.
Functions§
- compare_
field_ bytes - Compare two MessagePack values by their decoded content.
- compare_
field_ i64 - Compare two numeric MessagePack values as i64. Useful when the caller knows both values are integers.
- field_
bytes_ eq - Check if two MessagePack values are byte-identical. For canonical-encoded documents, byte equality implies semantic equality.
- hash_
field_ bytes - Hash the raw bytes of a MessagePack value at
rangewithinbuf. Uses a fast non-cryptographic hash suitable for hash joins and GROUP BY. - hash_
field_ bytes_ with - Hash the raw bytes using a provided
RandomStatefor consistent hashing within a single query (all docs hashed with the same seed). - is_
field_ null - Check if a field value is null without extracting it.