OmniSciDB
a575cb28ea
|
Public Member Functions | |
RexInputBackpropagationVisitor (RelProject *node) | |
![]() | |
virtual std::unique_ptr< const RexScalar > | visit (const RexScalar *rex_scalar) const |
Protected Member Functions | |
RetType | visitInput (const RexInput *rex_input) const final |
![]() | |
RetType | visitInput (const RexInput *input) const override |
RetType | visitLiteral (const RexLiteral *literal) const override |
RetType | visitSubQuery (const RexSubQuery *subquery) const override |
RetType | visitRef (const RexRef *ref) const override |
RetType | visitOperator (const RexOperator *rex_operator) const override |
RetType | visitWindowFunctionOperator (const RexWindowFunctionOperator *rex_window_function_operator) const |
RetType | visitCase (const RexCase *rex_case) const override |
Private Attributes | |
RelProject * | node_ |
Additional Inherited Members | |
![]() | |
using | RowValues = std::vector< std::unique_ptr< const RexScalar >> |
![]() | |
static std::vector< RowValues > | copy (std::vector< RowValues > const &rhs) |
![]() | |
using | RetType = std::unique_ptr< const RexScalar > |
Propagate an input backwards in the RA tree. With the exception of joins, all inputs must be carried through the RA tree. This visitor takes as a parameter a source projection RA Node, then checks to see if any inputs do not reference the source RA node (which implies the inputs reference a node farther back in the tree). The input is then backported to the source projection node, and a new input is generated which references the input on the source RA node, thereby carrying the input through the intermediate query step.
Definition at line 1856 of file RelAlgDagBuilder.cpp.
|
inline |
Definition at line 1858 of file RelAlgDagBuilder.cpp.
References CHECK.
|
inlinefinalprotectedvirtual |
Implements RexVisitorBase< std::unique_ptr< const RexScalar > >.
Definition at line 1861 of file RelAlgDagBuilder.cpp.
|
mutableprivate |
Definition at line 1877 of file RelAlgDagBuilder.cpp.