Package-level declarations
Types
The field is after now + offset; see BeforeNowFilter.
A calendar part of an instant, with its fixed integer domain [min, max].
One numeric contribution per current root or expanded record, for data conforming to its numeric schema. FIELD selects the sole non-null numeric value; missing, empty and multi-valued fields do not contribute. Repeated numeric values remain separate values. BINARY computes finite doubles; it does not pair arrays or preserve arbitrary native numeric precision.
A moment relative to the server's clock: the field is before now + offset. The server resolves now once per query, so every condition of one query sees the same moment and the client's clock does not matter.
Represents a concrete query condition with support for various comparison operators and logical combinations.
Marker interface for condition options. Implementations can define additional configuration options for query conditions.
A fixed-length unit of elapsed time. Calendar units (months, years) have no fixed length and depend on a time zone, so they are not offered; a DAY is exactly 24 hours.
Enumeration representing the possible states of deletion for entities in the system.
Compares a computed expression, for example the hours from paidAt to shippedAt, with value. A record whose expression has no value (an operand is absent, or a division by zero) does not match, whatever the comparison. The expression is evaluated per record and cannot use an index, so the operator is expensive.
A filter on one field the request names: the comparison, string, membership, presence and relative-time predicates, and ELEMENT_MATCH, whose field is the collection its predicate applies to. System-field, logical, search and expression filters name no single field and are not field predicates.
Numeric predicates compare the selected backend's stored or indexed representation, including its precision and quantization. Exact-match capability does not promise arbitrary-precision equality with a source value. Explicit string-comparison contracts remain independent of numeric representation.
Represents a generic condition interface for building query criteria.
Interface for list queries that retrieve multiple items with a limit.
Interface for materialized snapshots that contain state data and metadata.
Interface representing a paginated list of items with total count information.
Interface for paginated queries that retrieve items in pages.
Interface for single-item queries that retrieve at most one result.
Data class representing a query for retrieving a list of items with optional filtering, projection, sorting, and limiting.
Data class representing a complete materialized snapshot of an aggregate's state.
Represents a materialized snapshot for medium data, implementing multiple capabilities through inheritance. This class is designed to be generic, capable of holding state data of any type. Each snapshot corresponds to a specific version of the state within a tenant and owner context, and records information such as event IDs and operation times to support tracing and auditing.
Data class representing a paginated query with filtering, projection, sorting, and pagination.
Data class representing pagination settings for queries.
Data class representing field projection settings for queries.
Interface for query objects that support field projection.
Interface for query objects that support comprehensive querying capabilities.
Stable, machine-readable codes of rejected query requests, carried as BindingError.code. A contract: codes are added, never renamed or reused. Clients switch on them instead of on the human text.
Interface for query objects that support projection rewriting and modification.
Data class representing a query for retrieving a single item with optional filtering, projection, and sorting.
Represents a simplified materialized snapshot with generic state. This data class implements multiple interfaces to provide version, materialization, first event time, and state information.
Data class representing a sorting criterion for query results.
Interface for query objects that support sorting capabilities.
Properties
Functions
The direct child filters of this node: the operands of AND / OR / NOR and the predicate of ELEMENT_MATCH. Every other node is a leaf and returns an empty list. The one walker of a filter tree: consumers that visit the tree read the children from here instead of matching the logical nodes themselves.
Checks if this projection has no field filtering (includes all fields).