1 #ifndef PLAN_TEMPTABLE_H
2 #define PLAN_TEMPTABLE_H
20 static std::unique_ptr<TempTable>
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
TempTableState is the execution state for a in-memory temp table scan.
Definition: TempTableState.h:16
TempTable is the physical plan for scanning on a temp in-memory table.
Definition: TempTable.h:18
const Schema * get_output_schema() const override
Each physical plan should link a schema for its output relation, incidating what fields are included ...
Definition: TempTable.cpp:38
TempTable(const Schema *schema)
Definition: TempTable.cpp:6
void insert_record(std::vector< Datum > &&record)
Move a fully constructed deserialized record into the in-memory temp table this physical plan associa...
Definition: TempTable.cpp:22
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: TempTable.cpp:32
void node_properties_to_string(std::string &buf, int indent) const override
Definition: TempTable.cpp:27
static std::unique_ptr< TempTable > Create(const Schema *schema)
Definition: TempTable.cpp:13
~TempTable() override
Definition: TempTable.cpp:17