Module expression

Source
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
EmbeddedFunction
Enum
FieldReference
A reference to an inner part of a complex object. Can reference reference a single element or a masked version of elements
IfThen
Literal
MaskExpression
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.
MultiOrList
Nested
Expression to dynamically construct nested types.
ReferenceSegment
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.
ScalarFunction
A scalar function call.
SingularOrList
Subquery
Subquery relation expression
SwitchExpression
WindowFunction
A window function call.

Enums§

RexType