Expand description
Deterministic typed query model and executable reference semantics.
Structs§
- Aggregation
Plan - Optional global or grouped aggregation plan.
- Aggregation
Result - Aggregation output. An ungrouped plan has one empty-key group.
- Cursor
- Logical continuation position after one emitted record.
- Execution
Limits - Runtime and shape budgets for one complete global execution.
- Field
Path - Exact object-field path. An empty path selects the root value.
- Group
Result - One deterministic aggregation group.
- Named
Metric - Named aggregate calculation.
- Named
Metric Value - Named aggregate output.
- Query
- Complete deterministic query request.
- Query
Result - Complete successful query response.
- Record
- One logical record supplied to the reference query executor.
- Sort
Field - One requested sort component.
- System
Clock - Production monotonic clock backed by
Instant.
Enums§
- Bounded
Query Error - Failure from the additive query entry points that enforce an aggregate key/canonical-document byte budget.
- Compare
Operator - Ordered comparison operator for one resolved field.
- Document
Error - Failure while encoding or verifying one canonical structured document.
- Filter
- Deterministic filter expression.
- Metric
- One aggregate calculation.
- Metric
Value - Value emitted by one aggregate metric.
- Null
Placement - Explicit placement for missing and null sort values.
- Query
Error - Failure to validate or completely execute one structured query.
- Sort
Direction - Sort direction for one field.
- Value
- Canonical structured value used by the deterministic reference executor.
Constants§
- DEFAULT_
QUERY_ SCAN_ BYTES - Fixed aggregate key and canonical-document byte budget used by the compatibility-preserving query entry points.
- MAX_
DOCUMENT_ BYTES - Maximum canonical document payload bytes.
- MAX_
DOCUMENT_ DEPTH - Maximum nested array/object depth, with the root at depth zero.
- MAX_
DOCUMENT_ NODES - Maximum values decoded from one document.
Traits§
- Monotonic
Clock - Injectable monotonic clock used to make timeout semantics testable.
Functions§
- decode_
document - Verifies and decodes one canonical binary document.
- encode_
document - Encodes one structured value into a checksummed canonical binary document.
- encoded_
document_ len - Returns the exact canonical envelope length without allocating the encoded document.
- execute
- Executes one query over complete logical shards using the system clock.
- execute_
with_ byte_ limit - Executes one query under an explicit aggregate key/document byte budget.
- execute_
with_ clock - Executes one query with an injectable monotonic clock.
- execute_
with_ clock_ and_ byte_ limit - Executes one query with an injectable monotonic clock and explicit aggregate key/document byte budget.
- validate_
query - Validates query shape and cursor canonicality without scanning records.