OmniSciDB
a575cb28ea
|
#include <RelAlgDagBuilder.h>
Public Member Functions | |
RelFilter (std::unique_ptr< const RexScalar > &filter, std::shared_ptr< const RelAlgNode > input) | |
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 () const override |
std::shared_ptr< RelAlgNode > | deepCopy () const override |
![]() | |
RelAlgNode (RelAlgInputs inputs={}) | |
virtual | ~RelAlgNode () |
void | resetQueryExecutionState () |
void | setContextData (const void *context_data) const |
void | setOutputMetainfo (const std::vector< TargetMetaInfo > &targets_metainfo) const |
const std::vector < TargetMetaInfo > & | getOutputMetainfo () const |
unsigned | getId () const |
bool | hasContextData () const |
const void * | 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 |
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_ |
Definition at line 1214 of file RelAlgDagBuilder.h.
|
inline |
Definition at line 1216 of file RelAlgDagBuilder.h.
References CHECK, filter_, and RelAlgNode::inputs_.
RelFilter::RelFilter | ( | RelFilter const & | rhs | ) |
Definition at line 359 of file RelAlgDagBuilder.cpp.
References filter_, and RexVisitorBase< T >::visit().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1247 of file RelAlgDagBuilder.h.
|
inline |
|
inline |
Definition at line 1225 of file RelAlgDagBuilder.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 318 of file RelAlgDagBuilder.cpp.
References filter_, and RelAlgNode::replaceInput().
|
inline |
Definition at line 1229 of file RelAlgDagBuilder.h.
References CHECK, and filter_.
Referenced by hoist_filter_cond_to_cross_join().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1234 of file RelAlgDagBuilder.h.
References RelAlgNode::inputs_.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1239 of file RelAlgDagBuilder.h.
References cat(), filter_, and RelAlgNode::inputs_.
|
private |
Definition at line 1252 of file RelAlgDagBuilder.h.
Referenced by getAndReleaseCondition(), getCondition(), RelFilter(), replaceInput(), setCondition(), and toString().