risingwave_expr

Module expr

source
Expand description

Expressions in RisingWave.

All expressions are implemented under the Expression trait.

ยงConstruction

Expressions can be constructed by build_func() function, which returns a BoxedExpression.

They can also be transformed from the prost ExprNode using the build_from_prost() function.

ยงEvaluation

Expressions can be evaluated using the eval function.

Re-exportsยง

Modulesยง

Structsยง

  • An optional context that can be used in a function.
  • A reference to a column in input relation.
  • A literal expression.
  • Log the error to report an error during evaluation.
  • An type-safe wrapper that indicates the inner expression can be evaluated in a non-strict manner, i.e., developers can directly call eval_infallible and eval_row_infallible without checking the result.

Enumsยง

  • The type-erased return value of an expression.
  • The generic reference type of ValueImpl. Used as the arguments of expressions.

Traitsยง

Functionsยง

Type Aliasesยง