OmniSciDB
085a039ca4
|
#include <RelAlgDagBuilder.h>
Public Types | |
using | RowValues = std::vector< std::unique_ptr< const RexScalar >> |
Public Member Functions | |
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 |
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 (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 |
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 | |
const std::vector< TargetMetaInfo > | tuple_type_ |
const std::vector< RowValues > | values_ |
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 2160 of file RelAlgDagBuilder.h.
using RelLogicalValues::RowValues = std::vector<std::unique_ptr<const RexScalar>> |
Definition at line 2162 of file RelAlgDagBuilder.h.
|
inline |
Definition at line 2164 of file RelAlgDagBuilder.h.
Referenced by toHash().
RelLogicalValues::RelLogicalValues | ( | RelLogicalValues const & | rhs | ) |
Definition at line 573 of file RelAlgDagBuilder.cpp.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2215 of file RelAlgDagBuilder.h.
|
inline |
Definition at line 2209 of file RelAlgDagBuilder.h.
References values_.
Referenced by ResultSetLogicalValuesBuilder::build(), RelAlgExecutor::executeLogicalValues(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2201 of file RelAlgDagBuilder.h.
References values_.
Referenced by ResultSetLogicalValuesBuilder::build(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2170 of file RelAlgDagBuilder.h.
References tuple_type_.
Referenced by RelAlgExecutor::executeLogicalValues().
|
inline |
Definition at line 2194 of file RelAlgDagBuilder.h.
References CHECK_LT, and values_.
Referenced by ResultSetLogicalValuesBuilder::build(), and RelRexDagVisitor::visit().
|
inline |
Definition at line 2213 of file RelAlgDagBuilder.h.
References values_.
Referenced by ResultSetLogicalValuesBuilder::build().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2211 of file RelAlgDagBuilder.h.
References tuple_type_.
Referenced by ResultSetLogicalValuesBuilder::build().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2183 of file RelAlgDagBuilder.h.
References RelAlgNode::hash_, RelLogicalValues(), and tuple_type_.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 2172 of file RelAlgDagBuilder.h.
References tuple_type_, and typeName().
|
private |
Definition at line 2220 of file RelAlgDagBuilder.h.
Referenced by getTupleType(), size(), toHash(), and toString().
|
private |
Definition at line 2221 of file RelAlgDagBuilder.h.
Referenced by getNumRows(), getRowsSize(), getValueAt(), and hasRows().