Skip to main content

Module ops

Module ops 

Source
Expand description

The closed exact-operator registries rustev.exact/1 (spec 002, 3.8) and rustev.exact/2 (spec 032, 3.5 and 3.6), which adds join_keyed@1 and merge_fields@1 with every rustev.exact/1 operator unchanged.

An operator is named with a version. Changing what an operator means is a new version, never an edit (E-06). Each operator’s arguments are decoded strictly against its own schema.

Structs§

Arith
ClassWeight
Compare
Component
ComposeKey
A bounded constructed key (spec 036, 3.7).
CountWhere
Extremum
FieldPresence
FieldRule
FilterWithReasons
FxConvert
JoinKeyed
A typed keyed join (spec 032, 3.5).
KeyPart
MemberOf
MergeFields
A typed per-field merge (spec 032, 3.6). There is no default rule.
NamedRule
OpContext
What an operator needs at evaluation time besides expression scope.
TimestampDiff
TopK
WeightTable
WeightedRank
WindowFilter

Enums§

Direction
KeyNormalization
MergeRule
OpArgs
Decoded operator arguments.
Source
Which

Constants§

REGISTRY
Every registered (name, version).
REGISTRY_V2_ADDS
Operators rustev.exact/2 adds (spec 032, 3.1.1).

Functions§

decode
Decode the arguments of a registered operator; None when (op, version) is not registered (refusal category 2, not a parse failure).
decode_v2
Decode the arguments of an operator of rustev.exact/2.
is_registered
is_registered_v2
Whether (op, version) is in rustev.exact/2.