OmniSciDB
94e8789169
|
#include <RelAlgDagBuilder.h>
Public Member Functions | |
RelJoin (std::shared_ptr< const RelAlgNode > lhs, std::shared_ptr< const RelAlgNode > rhs, std::unique_ptr< const RexScalar > &condition, const JoinType join_type) | |
RelJoin (RelJoin const &) | |
JoinType | getJoinType () const |
const RexScalar * | getCondition () const |
const RexScalar * | getAndReleaseCondition () const |
void | setCondition (std::unique_ptr< const RexScalar > &condition) |
void | replaceInput (std::shared_ptr< const RelAlgNode > old_input, std::shared_ptr< const RelAlgNode > input) override |
std::string | toString () const override |
size_t | size () const override |
std::shared_ptr< RelAlgNode > | deepCopy () const override |
void | addHint (const HintExplained &hint_explained) |
const bool | hasHintEnabled (const std::string &candidate_hint_name) const |
const HintExplained & | getHintInfo (const std::string &hint_name) const |
bool | hasDeliveredHint () |
Hints * | getDeliveredHints () |
![]() | |
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 > | condition_ |
const JoinType | join_type_ |
bool | hint_applied_ |
std::unique_ptr< Hints > | hints_ |
Additional Inherited Members | |
![]() | |
static void | resetRelAlgFirstId () noexcept |
![]() | |
RelAlgInputs | inputs_ |
const unsigned | id_ |
Definition at line 1136 of file RelAlgDagBuilder.h.
|
inline |
RelJoin::RelJoin | ( | RelJoin const & | rhs | ) |
Definition at line 381 of file RelAlgDagBuilder.cpp.
References addHint(), condition_, hint_applied_, hints_, and RexVisitorBase< T >::visit().
|
inline |
Definition at line 1182 of file RelAlgDagBuilder.h.
References HintExplained::getHintName(), hint_applied_, and hints_.
Referenced by RelJoin().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1178 of file RelAlgDagBuilder.h.
|
inline |
|
inline |
Definition at line 1154 of file RelAlgDagBuilder.h.
References condition_.
Referenced by RelRexDagVisitor::visit(), and anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalInputsVisitor::visitJoin().
|
inline |
Definition at line 1205 of file RelAlgDagBuilder.h.
References hints_.
Referenced by anonymous_namespace{RelAlgDagBuilder.cpp}::handleQueryHint().
|
inline |
Definition at line 1196 of file RelAlgDagBuilder.h.
References CHECK, hasHintEnabled(), hint_applied_, and hints_.
|
inline |
|
inline |
|
inline |
Definition at line 1189 of file RelAlgDagBuilder.h.
References hint_applied_, and hints_.
Referenced by getHintInfo().
|
overridevirtual |
Reimplemented from RelAlgNode.
Definition at line 309 of file RelAlgDagBuilder.cpp.
References condition_, and RelAlgNode::replaceInput().
Referenced by create_left_deep_join().
|
inline |
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1176 of file RelAlgDagBuilder.h.
References RelAlgNode::inputs_.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1166 of file RelAlgDagBuilder.h.
References cat(), condition_, RelAlgNode::inputs_, join_type_, and to_string().
|
mutableprivate |
Definition at line 1208 of file RelAlgDagBuilder.h.
Referenced by getAndReleaseCondition(), getCondition(), RelJoin(), replaceInput(), setCondition(), and toString().
|
private |
Definition at line 1210 of file RelAlgDagBuilder.h.
Referenced by addHint(), getHintInfo(), hasHintEnabled(), and RelJoin().
|
private |
Definition at line 1211 of file RelAlgDagBuilder.h.
Referenced by addHint(), getDeliveredHints(), getHintInfo(), hasDeliveredHint(), hasHintEnabled(), and RelJoin().
|
private |
Definition at line 1209 of file RelAlgDagBuilder.h.
Referenced by getJoinType(), and toString().