1#ifndef EXECUTION_BASIC_EXECUTOR_H
2#define EXECUTION_BASIC_EXECUTOR_H
10#include <unordered_map>
BasicExecutor(TableManager &tableManager)
Constructs a BasicExecutor with a reference to the TableManager.
Definition BasicExecutor.cpp:5
std::unique_ptr< Xale::DataStructure::ResultSet > execute(Xale::Query::Statement *statement) override
Executes a given SQL statement and returns the result set.
Definition BasicExecutor.cpp:9
Interface for executing SQL statements and returning results.
Definition IExecutor.h:15
Manages the lifecycle of tables, including creation, retrieval, deletion, and persistence.
Definition TableManager.h:20
std::variant< int, double, std::string, std::monostate > FieldValue
Variant type for field values.
Definition DataTypes.h:24
Definition BasicExecutor.h:13
A row of data.
Definition DataTypes.h:45
CREATE TABLE statement structure.
Definition Statement.h:181
DELETE statement structure.
Definition Statement.h:146
DROP TABLE statement structure.
Definition Statement.h:192
Base expression structure.
Definition Statement.h:48
INSERT statement structure.
Definition Statement.h:122
LIST TABLE statement structure.
Definition Statement.h:203
SELECT statement structure.
Definition Statement.h:109
Base statement structure.
Definition Statement.h:88
UPDATE statement structure.
Definition Statement.h:134
WHERE clause representation.
Definition Statement.h:76