1 package com.mapd.parser.extension.ddl;
3 import com.google.gson.annotations.Expose;
5 import org.apache.calcite.sql.SqlKind;
7 import org.apache.calcite.sql.SqlSpecialOperator;
8 import org.apache.calcite.sql.parser.SqlParserPos;
18 new SqlSpecialOperator(
"ALTER_FOREIGN_TABLE", SqlKind.OTHER_DDL);
33 private SqlParserPos
pos;
55 this.newTableName = newName;
60 this.oldColumnName = oldName;
61 this.newColumnName = newName;
94 final Map<String, String>
options) {
void alterColumnName(final String oldName, final String newName)
void alterTableName(final String newName)
void setTableName(final String tableName)
SqlAlterForeignTable(final SqlParserPos pos, final AlterType alterType, final String tableName, final String newTableName, final String oldColumnName, final String newColumnName, final Map< String, String > options)
SqlAlterForeignTable build()
void alterOptions(final Map< String, String > options)
static final SqlOperator OPERATOR
Map< String, String > options
Map< String, String > options
void setPos(final SqlParserPos pos)