HyriseSQLParser/src/lib/ImportStatement.h

38 lines
525 B
C
Raw Normal View History

2014-11-07 01:09:06 +01:00
#ifndef __IMPORT_STATEMENT_H__
#define __IMPORT_STATEMENT_H__
#include "Statement.h"
namespace hsql {
typedef enum {
kImportCSV,
kImportTbl, // Hyrise file format
} ImportFileType;
/**
* @struct ImportStatement
*/
struct ImportStatement : Statement {
2014-11-13 01:27:47 +01:00
ImportStatement() :
Statement(kStmtImport),
file_path(NULL),
table_name(NULL) {};
2014-11-07 15:21:54 +01:00
virtual ~ImportStatement(); // defined in destructors.cpp
2014-11-07 01:09:06 +01:00
ImportFileType file_type;
const char* file_path;
const char* table_name;
};
} // namespace hsql
#endif