1 #ifndef PLAN_TEMPTABLE_H
2 #define PLAN_TEMPTABLE_H
20 static std::unique_ptr<TempTable>
41 std::vector<std::vector<Datum>>
m_data;
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:23
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:33
void node_properties_to_string(std::string &buf, int indent) const override
Definition: TempTable.cpp:28
static std::unique_ptr< TempTable > Create(const Schema *schema)
Definition: TempTable.cpp:15
~TempTable() override
Definition: TempTable.cpp:19
std::vector< std::vector< Datum > > m_data
Definition: TempTable.h:41
std::unique_ptr< Schema > m_schema
Definition: TempTable.h:40