Skip to main content

Module msgpack_scan

Module msgpack_scan 

Source
Expand description

Zero-deserialization binary scanner for MessagePack documents.

Operates directly on &[u8] MessagePack bytes without decoding into serde_json::Value or nodedb_types::Value. Field extraction, numeric reads, comparisons, and hashing all work on raw byte offsets.

Re-exports§

pub use compare::compare_field_bytes;
pub use compare::hash_field_bytes;
pub use compare_decimal::compare_decimal_field_bytes;
pub use compare_decimal::decimal_reading;
pub use field::extract_field;
pub use field::extract_path;
pub use group_key::build_group_key;
pub use index::FieldIndex;
pub use kv_body::KvBodyError;
pub use kv_body::KvBodyShape;
pub use kv_body::kv_body_shape;
pub use kv_body::kv_body_to_row;
pub use kv_body::kv_row_to_body_fields;
pub use kv_body::row_to_kv_body;
pub use kv_row::kv_row_msgpack;
pub use reader::array_header;
pub use reader::map_header;
pub use reader::read_bin_advance;
pub use reader::read_bool;
pub use reader::read_f64;
pub use reader::read_i64;
pub use reader::read_integer;
pub use reader::read_null;
pub use reader::read_str;
pub use reader::read_str_advance;
pub use reader::read_u32_advance;
pub use reader::read_value;
pub use reader::skip_value;
pub use sidecar::SidecarEntry;
pub use sidecar::SidecarFieldIndex;
pub use sidecar::build_sidecar;
pub use sidecar::field_index_from_sidecar;
pub use sidecar::has_sidecar;
pub use sidecar::msgpack_bytes;
pub use sidecar::sidecar_lookup;
pub use writer::build_str_map;
pub use writer::inject_str_field;
pub use writer::merge_fields;
pub use writer::write_array_header;
pub use writer::write_bin;
pub use writer::write_bool;
pub use writer::write_f64;
pub use writer::write_i64;
pub use writer::write_instant;
pub use writer::write_kv_bool;
pub use writer::write_kv_f64;
pub use writer::write_kv_i64;
pub use writer::write_kv_instant;
pub use writer::write_kv_null;
pub use writer::write_kv_raw;
pub use writer::write_kv_str;
pub use writer::write_map_header;
pub use writer::write_null;
pub use writer::write_str;

Modules§

aggregate_helpers
Public helpers for streaming aggregate accumulators.
compare
Byte-level comparison and hashing for MessagePack field values.
compare_decimal
Numeric comparison for a DECIMAL column’s MessagePack cells.
field
Field extraction from raw MessagePack maps.
filter
Binary filter evaluation on raw MessagePack documents.
group_key
Binary group key construction for GROUP BY on raw MessagePack documents.
index
Per-document structural index for O(1) field access.
kv_body
Shape-preserving decode / encode of a KV row body for read-modify-write.
kv_row
The one shaping rule for a key-value entry’s (key, value) byte pair.
reader
Low-level MessagePack binary reader: tag parsing, value skipping, and typed reads.
sidecar
Persistent structural index (sidecar) for MessagePack documents.
writer
Msgpack scalar writers for constructing response messages, aggregate results, projections, and other output data — all in raw msgpack without intermediary types.