OmniSciDB
a5dc49c757
|
#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 &) | |
virtual void | acceptChildren (Visitor &v) const override |
virtual void | accept (Visitor &v, std::string name) const override |
const std::vector< TargetMetaInfo > | getTupleType () const |
std::string | toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) 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 |
virtual size_t | toHash () const override |
Public Member Functions inherited from RelAlgNode | |
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 |
bool | hasContextData () const |
const RaExecutionDesc * | getContextData () const |
const size_t | inputCount () const |
const RelAlgNode * | getInput (const size_t idx) const |
const std::vector< RelAlgNode const * > | getInputs () 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 |
Public Member Functions inherited from RelAlgDagNode | |
RelAlgDagNode () | |
virtual size_t | getStepNumber () const |
virtual void | setStepNumber (size_t step) const |
std::optional< size_t > | getIdInPlanTree () const |
void | setIdInPlanTree (size_t id) const |
Private Attributes | |
std::vector< TargetMetaInfo > | tuple_type_ |
std::vector< RowValues > | values_ |
Friends | |
struct | RelAlgDagSerializer |
std::size_t | hash_value (RelLogicalValues const &) |
Additional Inherited Members | |
Static Public Member Functions inherited from RelAlgNode | |
static void | resetRelAlgFirstId () noexcept |
Protected Attributes inherited from RelAlgNode | |
RelAlgInputs | inputs_ |
unsigned | id_ |
std::optional< size_t > | hash_ |
Protected Attributes inherited from RelAlgDagNode | |
size_t | step_ {0} |
std::optional< size_t > | id_in_plan_tree_ |
Definition at line 2654 of file RelAlgDag.h.
using RelLogicalValues::RowValues = std::vector<std::unique_ptr<const RexScalar>> |
Definition at line 2656 of file RelAlgDag.h.
|
default |
|
inline |
Definition at line 2661 of file RelAlgDag.h.
RelLogicalValues::RelLogicalValues | ( | RelLogicalValues const & | rhs | ) |
Definition at line 574 of file RelAlgDag.cpp.
|
inlineoverridevirtual |
Implements RelAlgDagNode.
Definition at line 2681 of file RelAlgDag.h.
References acceptChildren(), and RelAlgDagNode::Visitor::visit().
Referenced by TableFunctionsFactory_node.PrintNode::__str__().
|
inlineoverridevirtual |
Implements RelAlgDagNode.
Definition at line 2667 of file RelAlgDag.h.
References RelAlgDagNode::accept(), RelAlgNode::getInputs(), getNumRows(), getRowsSize(), getValueAt(), and anonymous_namespace{Utm.h}::n.
Referenced by accept().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2726 of file RelAlgDag.h.
|
inline |
Definition at line 2700 of file RelAlgDag.h.
References CHECK_LT, size(), and tuple_type_.
|
inline |
Definition at line 2720 of file RelAlgDag.h.
References values_.
Referenced by acceptChildren(), ResultSetLogicalValuesBuilder::build(), RelAlgExecutor::executeLogicalValues(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2712 of file RelAlgDag.h.
References values_.
Referenced by acceptChildren(), ResultSetLogicalValuesBuilder::build(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2687 of file RelAlgDag.h.
References tuple_type_.
Referenced by RelAlgExecutor::executeLogicalValues().
|
inline |
Definition at line 2705 of file RelAlgDag.h.
References CHECK_LT, and values_.
Referenced by acceptChildren(), ResultSetLogicalValuesBuilder::build(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2724 of file RelAlgDag.h.
References values_.
Referenced by ResultSetLogicalValuesBuilder::build().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2722 of file RelAlgDag.h.
References tuple_type_.
Referenced by ResultSetLogicalValuesBuilder::build(), and getFieldName().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2730 of file RelAlgDag.h.
References hash_value.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2689 of file RelAlgDag.h.
References tuple_type_, and typeName().
|
friend |
|
friend |
Definition at line 2738 of file RelAlgDag.h.
|
private |
Definition at line 2735 of file RelAlgDag.h.
Referenced by getFieldName(), getTupleType(), hash_value(), size(), and toString().
|
private |
Definition at line 2736 of file RelAlgDag.h.
Referenced by getNumRows(), getRowsSize(), getValueAt(), and hasRows().