OmniSciDB
c0231cc57d
|
#include <RelAlgDag.h>
Public Member Functions | |
RelFilter (std::unique_ptr< const RexScalar > &filter, std::shared_ptr< const RelAlgNode > input) | |
RelFilter (std::unique_ptr< const RexScalar > &filter) | |
RelFilter (RelFilter const &) | |
const RexScalar * | getCondition () const |
const RexScalar * | getAndReleaseCondition () |
void | setCondition (std::unique_ptr< const RexScalar > &condition) |
size_t | size () const override |
void | replaceInput (std::shared_ptr< const RelAlgNode > old_input, std::shared_ptr< const RelAlgNode > input) override |
std::string | toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) const override |
size_t | toHash () const override |
std::shared_ptr< RelAlgNode > | deepCopy () const override |
![]() | |
RelAlgNode (RelAlgInputs inputs={}) | |
virtual | ~RelAlgNode () |
void | resetQueryExecutionState () |
void | setContextData (const RaExecutionDesc *context_data) const |
void | setOutputMetainfo (const std::vector< TargetMetaInfo > &targets_metainfo) const |
void | setQueryPlanDag (const std::string &extracted_query_plan_dag) const |
std::string | getQueryPlanDag () const |
size_t | getQueryPlanDagHash () const |
const std::vector < TargetMetaInfo > & | getOutputMetainfo () const |
unsigned | getId () const |
void | setIdInPlanTree (size_t id) const |
std::optional< size_t > | getIdInPlanTree () const |
bool | hasContextData () const |
const RaExecutionDesc * | getContextData () const |
const size_t | inputCount () const |
const RelAlgNode * | getInput (const size_t idx) const |
std::shared_ptr< const RelAlgNode > | getAndOwnInput (const size_t idx) const |
void | addManagedInput (std::shared_ptr< const RelAlgNode > input) |
bool | hasInput (const RelAlgNode *needle) const |
void | setRelNodeDagId (const size_t id) const |
size_t | getRelNodeDagId () const |
bool | isNop () const |
void | markAsNop () |
void | clearContextData () const |
Private Attributes | |
std::unique_ptr< const RexScalar > | filter_ |
Additional Inherited Members | |
![]() | |
static void | resetRelAlgFirstId () noexcept |
![]() | |
RelAlgInputs | inputs_ |
const unsigned | id_ |
std::optional< size_t > | id_in_plan_tree_ |
std::optional< size_t > | hash_ |
Definition at line 1565 of file RelAlgDag.h.
|
inline |
Definition at line 1567 of file RelAlgDag.h.
References CHECK, filter_, and RelAlgNode::inputs_.
Referenced by toHash().
|
inline |
RelFilter::RelFilter | ( | RelFilter const & | rhs | ) |
Definition at line 577 of file RelAlgDag.cpp.
References filter_, and RexVisitorBase< T >::visit().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1625 of file RelAlgDag.h.
|
inline |
|
inline |
Definition at line 1581 of file RelAlgDag.h.
References filter_.
Referenced by RelAlgExecutor::createFilterWorkUnit(), hoist_filter_cond_to_cross_join(), RelRexDagVisitor::visit(), and anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalInputsVisitor::visitFilter().
|
overridevirtual |
Reimplemented from RelAlgNode.
Definition at line 536 of file RelAlgDag.cpp.
References filter_, and RelAlgNode::replaceInput().
|
inline |
Definition at line 1585 of file RelAlgDag.h.
References CHECK, and filter_.
Referenced by hoist_filter_cond_to_cross_join().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1614 of file RelAlgDag.h.
References filter_, RelAlgNode::hash_, HASH_N, RelAlgNode::inputs_, and RelFilter().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1595 of file RelAlgDag.h.
References cat(), filter_, RelAlgNode::inputs_, to_string(), and typeName().
|
private |
Definition at line 1630 of file RelAlgDag.h.
Referenced by getAndReleaseCondition(), getCondition(), RelFilter(), replaceInput(), setCondition(), toHash(), and toString().