Skip to main content

Crate hyphae_query

Crate hyphae_query 

Source
Expand description

Deterministic typed query model and executable reference semantics.

Structs§

AggregationPlan
Optional global or grouped aggregation plan.
AggregationResult
Aggregation output. An ungrouped plan has one empty-key group.
Cursor
Logical continuation position after one emitted record.
ExecutionLimits
Runtime and shape budgets for one complete global execution.
FieldPath
Exact object-field path. An empty path selects the root value.
GroupResult
One deterministic aggregation group.
NamedMetric
Named aggregate calculation.
NamedMetricValue
Named aggregate output.
Query
Complete deterministic query request.
QueryResult
Complete successful query response.
Record
One logical record supplied to the reference query executor.
SortField
One requested sort component.
SystemClock
Production monotonic clock backed by Instant.

Enums§

CompareOperator
Ordered comparison operator for one resolved field.
Filter
Deterministic filter expression.
Metric
One aggregate calculation.
MetricValue
Value emitted by one aggregate metric.
NullPlacement
Explicit placement for missing and null sort values.
QueryError
Failure to validate or completely execute one structured query.
SortDirection
Sort direction for one field.
Value
Canonical structured value used by the deterministic reference executor.

Traits§

MonotonicClock
Injectable monotonic clock used to make timeout semantics testable.

Functions§

execute
Executes one query over complete logical shards using the system clock.
execute_with_clock
Executes one query with an injectable monotonic clock.
validate_query
Validates query shape and cursor canonicality without scanning records.