HyriseSQLParser/src/sql/ImportStatement.h

26 lines
465 B
C
Raw Normal View History

#ifndef SQLPARSER_IMPORT_STATEMENT_H
#define SQLPARSER_IMPORT_STATEMENT_H
2014-11-07 01:09:06 +01:00
2014-12-03 17:43:02 +01:00
#include "SQLStatement.h"
2014-11-07 01:09:06 +01:00
namespace hsql {
enum ImportType {
kImportCSV,
kImportTbl, // Hyrise file format
};
2016-02-27 15:01:06 +01:00
// Represents SQL Import statements.
struct ImportStatement : SQLStatement {
ImportStatement(ImportType type);
virtual ~ImportStatement();
2016-02-27 15:01:06 +01:00
ImportType type;
char* filePath;
char* schema;
char* tableName;
};
2014-11-07 01:09:06 +01:00
} // namespace hsql
#endif