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.SqlDropDROP TABLE DDL sql call.
-
-
Constructor Summary
Constructors Constructor Description SqlDropTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, boolean ifExists, boolean isTemporary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]fullTableName()booleangetIfExists()List<org.apache.calcite.sql.SqlNode>getOperandList()org.apache.calcite.sql.SqlIdentifiergetTableName()booleanisTemporary()voidsetIfExists(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.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
-
-
-
-
Method Detail
-
getOperandList
public List<org.apache.calcite.sql.SqlNode> 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
public String[] fullTableName()
-
-