OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlDumpTable.java
Go to the documentation of this file.
1 package com.mapd.parser.extension.ddl;
2 
3 import com.google.gson.annotations.Expose;
6 
7 import org.apache.calcite.sql.SqlKind;
9 import org.apache.calcite.sql.SqlSpecialOperator;
10 import org.apache.calcite.sql.parser.SqlParserPos;
11 
15 public class SqlDumpTable extends SqlCustomDdl {
16  private static final SqlOperator OPERATOR =
17  new SqlSpecialOperator("DUMP_TABLE", SqlKind.OTHER_DDL);
18 
19  @Expose
20  private String tableName;
21  @Expose
22  private String filePath;
23  @Expose
25 
26  public SqlDumpTable(final SqlParserPos pos,
27  final String tableName,
28  final String filePath,
29  HeavyDBOptionsMap withOptions) {
30  super(OPERATOR, pos);
31  this.tableName = tableName;
32  this.filePath = (new HeavySqlSanitizedString(filePath)).toString();
33  this.options = withOptions;
34  }
35 }
SqlDumpTable(final SqlParserPos pos, final String tableName, final String filePath, HeavyDBOptionsMap withOptions)