mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Functions | Variables
DatabaseCommand.hpp File Reference
#include <concepts>
#include <mutable/io/Reader.hpp>
#include <mutable/IR/Operator.hpp>
#include <mutable/IR/PhysicalOptimizer.hpp>
#include <mutable/parse/AST.hpp>
#include <mutable/util/Diagnostic.hpp>
#include <vector>
Include dependency graph for DatabaseCommand.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  m::DatabaseCommand
 The command pattern for operations in the DBMS. More...
 
struct  m::EmptyCommand
 
struct  m::DatabaseInstruction
 A DatabaseInstruction represents an invokation of an instruction with (optional) arguments. More...
 
struct  m::learn_spns
 Learn an SPN on every table in the database that is currently in use. More...
 
struct  m::SQLCommand
 
struct  m::DMLCommand
 Base class for all commands resulting from a data manipulation language (DML) statement. More...
 
struct  m::QueryDatabase
 Run a query against the selected database. More...
 
struct  m::InsertRecords
 Insert records into a Table of a Database. More...
 
struct  m::UpdateRecords
 Modify records of a Table of a Database. More...
 
struct  m::DeleteRecords
 Delete records from a Table of a Database. More...
 
struct  m::ImportDSV
 Import records from a delimiter separated values (DSV) file into a Table of a Database. More...
 
struct  m::DDLCommand
 
struct  m::CreateDatabase
 
struct  m::DropDatabase
 
struct  m::UseDatabase
 
struct  m::CreateTable
 
struct  m::DropTable
 
struct  m::CreateIndex
 
struct  m::DropIndex
 

Namespaces

namespace  m
 

‍mutable namespace


 

Macros

#define M_DATABASE_INSTRUCTION_LIST(X)    X(learn_spns)
 
#define M_DATABASE_DML_LIST(X)
 
#define M_DATABASE_DDL_LIST(X)
 
#define M_DATABASE_SQL_LIST(X)
 
#define M_DATABASE_COMMAND_LIST(X)
 

Functions

 m::M_DECLARE_VISITOR (DatabaseCommandVisitor, DatabaseCommand, M_DATABASE_COMMAND_LIST) M_DECLARE_VISITOR(ConstDatabaseCommandVisitor
 

Variables

const m::DatabaseCommand
 

Macro Definition Documentation

◆ M_DATABASE_COMMAND_LIST

#define M_DATABASE_COMMAND_LIST (   X)
Value:
M_DATABASE_SQL_LIST(X) \
X(EmptyCommand)
#define M_DATABASE_INSTRUCTION_LIST(X)
#define X(Kind)
Definition: Operator.hpp:621

Definition at line 327 of file DatabaseCommand.hpp.

◆ M_DATABASE_DDL_LIST

#define M_DATABASE_DDL_LIST (   X)
Value:
X(CreateDatabase) \
X(DropDatabase) \
X(UseDatabase) \
X(CreateTable) \
X(DropTable) \
X(CreateIndex) \
X(DropIndex)

Definition at line 313 of file DatabaseCommand.hpp.

◆ M_DATABASE_DML_LIST

#define M_DATABASE_DML_LIST (   X)
Value:
X(QueryDatabase) \
X(InsertRecords) \
X(UpdateRecords) \
X(DeleteRecords) \
X(ImportDSV)

Definition at line 180 of file DatabaseCommand.hpp.

◆ M_DATABASE_INSTRUCTION_LIST

#define M_DATABASE_INSTRUCTION_LIST (   X)     X(learn_spns)

Definition at line 96 of file DatabaseCommand.hpp.

◆ M_DATABASE_SQL_LIST

#define M_DATABASE_SQL_LIST (   X)
Value:
M_DATABASE_DDL_LIST(X)
#define M_DATABASE_DML_LIST(X)

Definition at line 323 of file DatabaseCommand.hpp.