OmniSciDB
c1a53651b2
|
#include <RelAlgDag.h>
Public Types | |
using | RowValues = std::vector< std::unique_ptr< const RexScalar >> |
Public Member Functions | |
RelLogicalValues ()=default | |
RelLogicalValues (const std::vector< TargetMetaInfo > &tuple_type, std::vector< RowValues > &values) | |
RelLogicalValues (RelLogicalValues const &) | |
const std::vector< TargetMetaInfo > | getTupleType () const |
std::string | toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) const override |
size_t | toHash () const override |
std::string | getFieldName (const size_t col_idx) const |
const RexScalar * | getValueAt (const size_t row_idx, const size_t col_idx) const |
size_t | getRowsSize () const |
size_t | getNumRows () const |
size_t | size () const override |
bool | hasRows () const |
std::shared_ptr< RelAlgNode > | deepCopy () const override |
![]() | |
RelAlgNode (RelAlgInputs inputs={}) | |
virtual | ~RelAlgNode () |
void | resetQueryExecutionState () |
void | setContextData (const RaExecutionDesc *context_data) const |
void | setOutputMetainfo (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 |
virtual void | replaceInput (std::shared_ptr< const RelAlgNode > old_input, std::shared_ptr< const RelAlgNode > input) |
void | setRelNodeDagId (const size_t id) const |
size_t | getRelNodeDagId () const |
bool | isNop () const |
void | markAsNop () |
void | clearContextData () const |
Private Attributes | |
std::vector< TargetMetaInfo > | tuple_type_ |
std::vector< RowValues > | values_ |
Friends | |
struct | RelAlgDagSerializer |
Additional Inherited Members | |
![]() | |
static void | resetRelAlgFirstId () noexcept |
![]() | |
RelAlgInputs | inputs_ |
unsigned | id_ |
std::optional< size_t > | id_in_plan_tree_ |
std::optional< size_t > | hash_ |
Definition at line 2387 of file RelAlgDag.h.
using RelLogicalValues::RowValues = std::vector<std::unique_ptr<const RexScalar>> |
Definition at line 2389 of file RelAlgDag.h.
|
default |
|
inline |
Definition at line 2394 of file RelAlgDag.h.
RelLogicalValues::RelLogicalValues | ( | RelLogicalValues const & | rhs | ) |
Definition at line 573 of file RelAlgDag.cpp.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2450 of file RelAlgDag.h.
|
inline |
Definition at line 2424 of file RelAlgDag.h.
References CHECK_LT, size(), and tuple_type_.
|
inline |
Definition at line 2444 of file RelAlgDag.h.
References values_.
Referenced by ResultSetLogicalValuesBuilder::build(), RelAlgExecutor::executeLogicalValues(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2436 of file RelAlgDag.h.
References values_.
Referenced by ResultSetLogicalValuesBuilder::build(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2400 of file RelAlgDag.h.
References tuple_type_.
Referenced by RelAlgExecutor::executeLogicalValues().
|
inline |
Definition at line 2429 of file RelAlgDag.h.
References CHECK_LT, and values_.
Referenced by ResultSetLogicalValuesBuilder::build(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2448 of file RelAlgDag.h.
References values_.
Referenced by ResultSetLogicalValuesBuilder::build().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2446 of file RelAlgDag.h.
References tuple_type_.
Referenced by ResultSetLogicalValuesBuilder::build(), and getFieldName().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2413 of file RelAlgDag.h.
References RelAlgNode::hash_, RelLogicalValues(), and tuple_type_.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2402 of file RelAlgDag.h.
References tuple_type_, and typeName().
|
friend |
Definition at line 2458 of file RelAlgDag.h.
|
private |
Definition at line 2455 of file RelAlgDag.h.
Referenced by getFieldName(), getTupleType(), size(), toHash(), and toString().
|
private |
Definition at line 2456 of file RelAlgDag.h.
Referenced by getNumRows(), getRowsSize(), getValueAt(), and hasRows().