OmniSciDB
a5dc49c757
|
#include <RelAlgDag.h>
Public Member Functions | |
RexAgg () | |
RexAgg (const SQLAgg agg, const bool distinct, const SQLTypeInfo &type, const std::vector< size_t > &operands) | |
virtual void | acceptChildren (Visitor &v) const override |
virtual void | accept (Visitor &v, std::string name) const override |
std::string | toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) const override |
SQLAgg | getKind () const |
bool | isDistinct () const |
size_t | size () const |
size_t | getOperand (size_t idx) const |
const SQLTypeInfo & | getType () const |
std::unique_ptr< RexAgg > | deepCopy () const |
virtual size_t | toHash () const override |
Public Member Functions inherited from Rex | |
virtual | ~Rex () |
virtual size_t | getStepNumber () const |
Public Member Functions inherited from RelAlgDagNode | |
RelAlgDagNode () | |
virtual void | setStepNumber (size_t step) const |
std::optional< size_t > | getIdInPlanTree () const |
void | setIdInPlanTree (size_t id) const |
Private Attributes | |
SQLAgg | agg_ |
bool | distinct_ |
SQLTypeInfo | type_ |
std::vector< size_t > | operands_ |
Friends | |
struct | RelAlgDagSerializer |
std::size_t | hash_value (RexAgg const &) |
Additional Inherited Members | |
Protected Attributes inherited from Rex | |
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 767 of file RelAlgDag.h.
|
inline |
Definition at line 770 of file RelAlgDag.h.
|
inline |
Definition at line 772 of file RelAlgDag.h.
|
inlineoverridevirtual |
Implements RelAlgDagNode.
Definition at line 779 of file RelAlgDag.h.
References acceptChildren(), and RelAlgDagNode::Visitor::visit().
Referenced by TableFunctionsFactory_node.PrintNode::__str__(), and RelCompound::acceptChildren().
|
inlineoverridevirtual |
Implements RelAlgDagNode.
Definition at line 778 of file RelAlgDag.h.
Referenced by accept().
|
inline |
|
inline |
Definition at line 799 of file RelAlgDag.h.
References agg_.
Referenced by RelAlgTranslator::translateAggregateRex().
|
inline |
Definition at line 805 of file RelAlgDag.h.
References operands_.
Referenced by RelAlgTranslator::translateAggregateRex().
|
inline |
|
inline |
Definition at line 801 of file RelAlgDag.h.
References distinct_.
Referenced by RelAlgTranslator::translateAggregateRex().
|
inline |
Definition at line 803 of file RelAlgDag.h.
References operands_.
Referenced by RelAlgTranslator::translateAggregateRex().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements RelAlgDagNode.
Definition at line 785 of file RelAlgDag.h.
References agg_, cat(), distinct_, SQLTypeInfo::get_type_name(), operands_, to_string(), type_, and typeName().
|
friend |
|
friend |
Definition at line 823 of file RelAlgDag.h.
|
private |
Definition at line 818 of file RelAlgDag.h.
Referenced by deepCopy(), getKind(), hash_value(), and toString().
|
private |
Definition at line 819 of file RelAlgDag.h.
Referenced by deepCopy(), hash_value(), isDistinct(), and toString().
|
private |
Definition at line 821 of file RelAlgDag.h.
Referenced by deepCopy(), getOperand(), hash_value(), size(), and toString().
|
private |
Definition at line 820 of file RelAlgDag.h.
Referenced by deepCopy(), getType(), hash_value(), and toString().