1 #ifndef PLAN_AGGREGATION_H
2 #define PLAN_AGGREGATION_H
10 class AggregationState;
37 static std::unique_ptr<Aggregation>
38 Create(std::unique_ptr<PlanNode>&& child,
39 std::vector<std::unique_ptr<ExprNode>>&& exprs,
40 const std::vector<AggType>& aggtyps);
52 std::vector<std::unique_ptr<ExprNode>>&& exprs,
53 const std::vector<AggType>& aggtyps);
This file is automatically generated, DO NOT modify.
AggregationState is the execution state for aggregation.
Definition: AggregationState.h:17
Aggregation is the physical plan for aggregations.
Definition: Aggregation.h:35
const Schema * get_output_schema() const override
Each physical plan should link a schema for its output relation, incidating what fields are included ...
Definition: Aggregation.cpp:39
Aggregation(std::unique_ptr< PlanNode > &&child, std::vector< std::unique_ptr< ExprNode >> &&exprs, const std::vector< AggType > &aggtyps)
Definition: Aggregation.cpp:7
void node_properties_to_string(std::string &buf, int indent) const override
Definition: Aggregation.cpp:28
~Aggregation() override
Definition: Aggregation.cpp:15
std::unique_ptr< PlanExecState > create_exec_state() const override
Create the corresponding execution state for the physical plan so that it can be used as physical sca...
Definition: Aggregation.cpp:33
static std::unique_ptr< Aggregation > Create(std::unique_ptr< PlanNode > &&child, std::vector< std::unique_ptr< ExprNode >> &&exprs, const std::vector< AggType > &aggtyps)
Definition: Aggregation.cpp:20
PlanNode is an abstract interface representing physical query plan that does not bound with any parti...
Definition: PlanNode.h:26
A Schema object stores the information for accessing an ordered set of typed fields either from a dis...
Definition: Schema.h:39