26 lines
465 B
C++
Executable File
26 lines
465 B
C++
Executable File
#ifndef SQLPARSER_IMPORT_STATEMENT_H
|
|
#define SQLPARSER_IMPORT_STATEMENT_H
|
|
|
|
#include "SQLStatement.h"
|
|
|
|
namespace hsql {
|
|
enum ImportType {
|
|
kImportCSV,
|
|
kImportTbl, // Hyrise file format
|
|
};
|
|
|
|
// Represents SQL Import statements.
|
|
struct ImportStatement : SQLStatement {
|
|
ImportStatement(ImportType type);
|
|
virtual ~ImportStatement();
|
|
|
|
ImportType type;
|
|
char* filePath;
|
|
char* schema;
|
|
char* tableName;
|
|
};
|
|
|
|
} // namespace hsql
|
|
|
|
#endif
|