Expand description
Nested message and enum types in Expression.
Modules§
- cast
- Nested message and enum types in
Cast. - embedded_
function - Nested message and enum types in
EmbeddedFunction. - enum
- Nested message and enum types in
Enum. - field_
reference - Nested message and enum types in
FieldReference. - if_then
- Nested message and enum types in
IfThen. - literal
- Nested message and enum types in
Literal. - mask_
expression - Nested message and enum types in
MaskExpression. - multi_
or_ list - Nested message and enum types in
MultiOrList. - nested
- Nested message and enum types in
Nested. - reference_
segment - Nested message and enum types in
ReferenceSegment. - subquery
- Nested message and enum types in
Subquery. - switch_
expression - Nested message and enum types in
SwitchExpression. - window_
function - Nested message and enum types in
WindowFunction.
Structs§
- Cast
- Embedded
Function - Enum
- Field
Reference - A reference to data within a structured object, supporting navigation into nested fields. The root_type specifies the origin of the data (input record, outer query, lambda parameters, or an arbitrary expression), and the reference_type specifies how to navigate from that root (either a direct path to a single element or a mask selecting multiple elements).
- IfThen
- Lambda
- A lambda expression representing an inline, anonymous function. Lambda expressions have parameters and a body expression that can reference those parameters using FieldReference with FieldReference.LambdaParameterReference as the root_type.
- Lambda
Invocation - Invokes an inline lambda expression with provided arguments. Enables immediate invocation patterns like: ((x) -> x * 2)(5)
- Literal
- Mask
Expression - A reference that takes an existing subtype and selectively removes fields from it. For example, one might initially have an inner struct with 100 fields but a a particular operation only needs to interact with only 2 of those 100 fields. In this situation, one would use a mask expression to eliminate the 98 fields that are not relevant to the rest of the operation pipeline.
- Multi
OrList - Nested
- Expression to dynamically construct nested types.
- Reference
Segment - A way to reference the inner property of a complex record. Can reference either a map key by literal, a struct field by the ordinal position of the desired field or a particular element in an array. Supports expressions that would roughly translate to something similar to: a.b[2].c[‘my_map_key’].x where a,b,c and x are struct field references (ordinalized in the internal representation here), [2] is a list offset and [‘my_map_key’] is a reference into a map field.
- Scalar
Function - A scalar function call.
- Singular
OrList - Subquery
- Subquery relation expression
- Switch
Expression - Window
Function - A window function call.