OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlTruncateTable.java
Go to the documentation of this file.
1 package com.mapd.parser.extension.ddl;
2 
3 import com.google.gson.annotations.Expose;
4 
5 import org.apache.calcite.sql.SqlKind;
7 import org.apache.calcite.sql.SqlSpecialOperator;
8 import org.apache.calcite.sql.parser.SqlParserPos;
9 
13 public class SqlTruncateTable extends SqlCustomDdl {
14  private static final SqlOperator OPERATOR =
15  new SqlSpecialOperator("TRUNCATE_TABLE", SqlKind.OTHER_DDL);
16 
17  @Expose
18  private String tableName;
19 
20  public SqlTruncateTable(final SqlParserPos pos, final String tableName) {
21  super(OPERATOR, pos);
22  this.tableName = tableName;
23  }
24 }
SqlTruncateTable(final SqlParserPos pos, final String tableName)