18 static std::unique_ptr<Limit>
19 Create(std::unique_ptr<PlanNode>&& child,
size_t count);
30 Limit(std::unique_ptr<PlanNode>&& child,
size_t count);
LimitState is the exeuction state for limitation.
Definition: LimitState.h:20
Limit is the physical plan for limitation.
Definition: Limit.h:16
Limit(std::unique_ptr< PlanNode > &&child, size_t count)
Definition: Limit.cpp:9
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: Limit.cpp:27
static std::unique_ptr< Limit > Create(std::unique_ptr< PlanNode > &&child, size_t count)
Definition: Limit.cpp:14
~Limit() override
Definition: Limit.cpp:18
void node_properties_to_string(std::string &buf, int indent) const override
Definition: Limit.cpp:22
const Schema * get_output_schema() const override
Each physical plan should link a schema for its output relation, incidating what fields are included ...
Definition: Limit.cpp:32
size_t m_cnt
Definition: Limit.h:32
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