Modules§
- proto_
decode proto - Decode-side counterpart to
proto_encode. - proto_
encode proto - Encode-side context for
PhysicalExpr::try_to_proto.
Traits§
- Physical
Expr PhysicalExprs represent expressions such asA + 1orCAST(c1 AS int).
Functions§
- fmt_sql
- Prints a
PhysicalExprin a SQL-like format - format_
physical_ expr_ list - Returns
Displayable a list ofPhysicalExpr - is_
dynamic_ physical_ expr Deprecated - Check if the given
PhysicalExpris dynamic. Internally this callssnapshot_generationto check if the generation is non-zero, any dynamicPhysicalExprshould have a non-zero generation. - is_
volatile - Returns true if the expression is volatile, i.e. whether it can return different results when evaluated multiple times with the same input.
- snapshot_
generation - Check the generation of this
PhysicalExpr. DynamicPhysicalExprs may have a generation that is incremented every time the state of thePhysicalExprchanges. If the generation changes that means thisPhysicalExpror one of its children has changed since the last time it was evaluated. - snapshot_
physical_ expr - Take a snapshot of the given
PhysicalExprif it is dynamic. - snapshot_
physical_ expr_ opt - Take a snapshot of the given
PhysicalExprif it is dynamic. - with_
new_ children_ if_ necessary - Returns a copy of this expr if we change any child according to the pointer comparison.
The size of
childrenmust be equal to the size ofPhysicalExpr::children().
Type Aliases§
- Physical
Expr Ref - Shared
PhysicalExpr.