Skip to main content

hyphae_query/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2
3//! Deterministic typed query model and executable reference semantics.
4
5mod document;
6mod engine;
7mod model;
8mod value;
9
10pub use document::{
11    DocumentError, MAX_DOCUMENT_BYTES, MAX_DOCUMENT_DEPTH, MAX_DOCUMENT_NODES, decode_document,
12    encode_document, encoded_document_len,
13};
14pub use engine::{
15    BoundedQueryError, DEFAULT_QUERY_SCAN_BYTES, MonotonicClock, QueryError, SystemClock, execute,
16    execute_with_byte_limit, execute_with_clock, execute_with_clock_and_byte_limit, validate_query,
17};
18pub use model::{
19    AggregationPlan, AggregationResult, CompareOperator, Cursor, ExecutionLimits, Filter,
20    GroupResult, Metric, MetricValue, NamedMetric, NamedMetricValue, NullPlacement, Query,
21    QueryResult, Record, SortDirection, SortField,
22};
23pub use value::{FieldPath, Value};