|
| bool M_EXPORT | m::init (void) |
| | Initializes the mu*t*able library.
|
| |
| std::unique_ptr< ast::Stmt > M_EXPORT | m::statement_from_string (Diagnostic &diag, const std::string &str) |
| | Use lexer, parser, and semantic analysis to create a Stmt from str.
|
| |
| std::unique_ptr< ast::Instruction > M_EXPORT | m::instruction_from_string (Diagnostic &diag, const std::string &str) |
| | Use lexer and parser to create an Instruction from str.
|
| |
| std::unique_ptr< DatabaseCommand > M_EXPORT | m::command_from_string (Diagnostic &diag, const std::string &str) |
| | Create a DatabaseCommand from str.
|
| |
| void M_EXPORT | m::execute_statement (Diagnostic &diag, const ast::Stmt &stmt, bool is_stdin=false) |
| | Optimizes and executes the given Stmt.
|
| |
| void M_EXPORT | m::process_stream (std::istream &in, const char *filename, Diagnostic diag) |
| | Extracts and executes statements from given stream.
|
| |
| void M_EXPORT | m::execute_instruction (Diagnostic &diag, const ast::Instruction &instruction) |
| | Executes the given Instruction.
|
| |
| std::unique_ptr< Consumer > M_EXPORT | m::logical_plan_from_statement (Diagnostic &diag, const ast::SelectStmt &stmt, std::unique_ptr< Consumer > consumer) |
| | Optimizes the given SelectStmt.
|
| |
| std::unique_ptr< MatchBase > M_EXPORT | m::physical_plan_from_logical_plan (Diagnostic &diag, const Consumer &logical_plan) |
| | Computes a physical plan from the given logical plan.
|
| |
| std::unique_ptr< MatchBase > M_EXPORT | m::physical_plan_from_logical_plan (Diagnostic &diag, const Consumer &logical_plan, const Backend &backend) |
| | Computes a physical plan from the given logical_plan.
|
| |
| void M_EXPORT | m::execute_physical_plan (Diagnostic &diag, const MatchBase &physical_plan) |
| | Executes the given physical plan.
|
| |
| void M_EXPORT | m::execute_physical_plan (Diagnostic &diag, const MatchBase &physical_plan, const Backend &backend) |
| | Executes the given physical plan on backend.
|
| |
| void M_EXPORT | m::execute_query (Diagnostic &diag, const ast::SelectStmt &stmt, std::unique_ptr< Consumer > consumer) |
| | Optimizes and executes the given SelectStmt.
|
| |
| void M_EXPORT | m::execute_query (Diagnostic &diag, const ast::SelectStmt &stmt, std::unique_ptr< Consumer > consumer, const Backend &backend) |
| | Optimizes and executes the given SelectStmt on backend.
|
| |
| void M_EXPORT | m::load_from_CSV (Diagnostic &diag, Table &table, const std::filesystem::path &path, std::size_t num_rows=std::numeric_limits< std::size_t >::max(), bool has_header=false, bool skip_header=false) |
| | Loads a CSV file into a Table.
|
| |
| void M_EXPORT | m::execute_file (Diagnostic &diag, const std::filesystem::path &path) |
| | Execute the SQL file at path.
|
| |