ImportStatement.h 473 B

123456789101112131415161718192021222324252627
  1. #ifndef SQLPARSER_IMPORT_STATEMENT_H
  2. #define SQLPARSER_IMPORT_STATEMENT_H
  3. #include "SQLStatement.h"
  4. namespace hsql {
  5. enum ImportType {
  6. kImportCSV,
  7. kImportTbl, // Hyrise file format
  8. kImportBinary,
  9. kImportAuto
  10. };
  11. // Represents SQL Import statements.
  12. struct ImportStatement : SQLStatement {
  13. ImportStatement(ImportType type);
  14. ~ImportStatement() override;
  15. ImportType type;
  16. char* filePath;
  17. char* schema;
  18. char* tableName;
  19. };
  20. } // namespace hsql
  21. #endif