Package org.apache.flink.sql.parser.ddl
Class SqlDropTable
java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.calcite.sql.SqlDdl
org.apache.calcite.sql.SqlDrop
org.apache.flink.sql.parser.ddl.SqlDropTable
- All Implemented Interfaces:
Cloneable
public class SqlDropTable
extends org.apache.calcite.sql.SqlDrop
DROP TABLE DDL sql call.
-
Field Summary
Fields inherited from class org.apache.calcite.sql.SqlDdl
DDL_OPERATORFields inherited from class org.apache.calcite.sql.SqlNode
EMPTY_ARRAY, pos -
Constructor Summary
ConstructorsConstructorDescriptionSqlDropTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, boolean ifExists, boolean isTemporary) -
Method Summary
Modifier and TypeMethodDescriptionString[]booleanList<org.apache.calcite.sql.SqlNode>org.apache.calcite.sql.SqlIdentifierbooleanvoidsetIfExists(boolean ifExists) voidsetTableName(org.apache.calcite.sql.SqlIdentifier viewName) voidunparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec) Methods inherited from class org.apache.calcite.sql.SqlDdl
getOperatorMethods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validateMethods inherited from class org.apache.calcite.sql.SqlNode
clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toList, toList, toSqlString, toSqlString, toSqlString, toString, unparseWithParentheses, validateExpr
-
Constructor Details
-
SqlDropTable
public SqlDropTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, boolean ifExists, boolean isTemporary)
-
-
Method Details
-
getOperandList
- Specified by:
getOperandListin classorg.apache.calcite.sql.SqlCall
-
getTableName
public org.apache.calcite.sql.SqlIdentifier getTableName() -
setTableName
public void setTableName(org.apache.calcite.sql.SqlIdentifier viewName) -
getIfExists
public boolean getIfExists() -
setIfExists
public void setIfExists(boolean ifExists) -
isTemporary
public boolean isTemporary() -
unparse
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec) - Overrides:
unparsein classorg.apache.calcite.sql.SqlCall
-
fullTableName
-