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 aggregate::compute_aggregate_binary;
pub use compare::compare_field_bytes;
pub use compare::hash_field_bytes;
pub use field::extract_field;
pub use field::extract_path;
pub use group_key::build_group_key;
pub use index::FieldIndex;
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_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_kv_bool;
pub use writer::write_kv_f64;
pub use writer::write_kv_i64;
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
Zero-deserialization aggregate computation on raw MessagePack documents.
aggregate_helpers
Public helpers for streaming aggregate accumulators.
compare
Byte-level comparison and hashing for MessagePack field values.
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.
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.