Traits§
- DynEq
PhysicalExprcan’t be constrained byEqdirectly because it must remain object safe. To ease implementation, blanket implementation is provided forEqtypes.- DynHash
PhysicalExprcan’t be constrained byHashdirectly because it must remain object safe. To ease implementation blanket implementation is provided forHashtypes.- Physical
Expr PhysicalExprs represent expressions such asA + 1orCAST(c1 AS int).
Functions§
- down_
cast_ any_ ref Deprecated - fmt_sql
- Prints a
PhysicalExprin a SQL-like format - format_
physical_ expr_ list - Returns
Displayable a list ofPhysicalExpr - is_
dynamic_ physical_ expr - Check if the given
PhysicalExpris dynamic. Internally this callssnapshot_generationto check if the generation is non-zero, any dynamicPhysicalExprshould have a non-zero generation. - 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. - 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.