OmniSciDB
a5dc49c757
|
Public Member Functions | |
RexInputReplacementVisitor (const RelAlgNode *node_to_keep, const std::vector< std::unique_ptr< const RexScalar >> &scalar_sources) | |
RetType | visitInput (const RexInput *input) const final |
Public Member Functions inherited from RexVisitorBase< std::unique_ptr< const RexScalar > > | |
virtual std::unique_ptr< const RexScalar > | visit (const RexScalar *rex_scalar) const |
Private Attributes | |
const RelAlgNode * | node_to_keep_ |
const std::vector < std::unique_ptr< const RexScalar > > & | scalar_sources_ |
Additional Inherited Members | |
Public Types inherited from RexDeepCopyVisitor | |
using | RowValues = std::vector< std::unique_ptr< const RexScalar >> |
Static Public Member Functions inherited from RexDeepCopyVisitor | |
static std::vector< RowValues > | copy (std::vector< RowValues > const &rhs) |
Protected Types inherited from RexDeepCopyVisitor | |
using | RetType = std::unique_ptr< const RexScalar > |
Protected Member Functions inherited from RexDeepCopyVisitor | |
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 |
The RexInputReplacement visitor visits each node in a given relational algebra expression and replaces the inputs to that expression with inputs from a different node in the RA tree. Used for coalescing nodes with complex expressions.
Definition at line 1660 of file RelAlgDag.cpp.
|
inline |
Definition at line 1662 of file RelAlgDag.cpp.
|
inlinefinalvirtual |
Implements RexVisitorBase< std::unique_ptr< const RexScalar > >.
Definition at line 1668 of file RelAlgDag.cpp.
References CHECK_LT.
|
private |
Definition at line 1679 of file RelAlgDag.cpp.
|
private |
Definition at line 1680 of file RelAlgDag.cpp.