Package org.apache.calcite.sql
Class SqlDrop
- java.lang.Object
-
- org.apache.calcite.sql.SqlNode
-
- org.apache.calcite.sql.SqlCall
-
- org.apache.calcite.sql.SqlDdl
-
- org.apache.calcite.sql.SqlDrop
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
SqlDropObject
,SqlDropSchema
public abstract class SqlDrop extends SqlDdl
Base class for an DROP statements parse tree nodes. The portion of the statement covered by this class is "DROP". Subclasses handle whatever comes afterwards.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
ifExists
Whether "IF EXISTS" was specified.-
Fields inherited from class org.apache.calcite.sql.SqlDdl
DDL_OPERATOR
-
Fields inherited from class org.apache.calcite.sql.SqlNode
EMPTY_ARRAY, pos
-
-
Constructor Summary
Constructors Constructor Description SqlDrop(SqlParserPos pos)
Deprecated.SqlDrop(SqlOperator operator, SqlParserPos pos, boolean ifExists)
Creates a SqlDrop.
-
Method Summary
-
Methods inherited from class org.apache.calcite.sql.SqlDdl
getOperator
-
Methods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, getOperandList, isCountStar, isExpanded, operand, operandCount, setOperand, unparse, validate
-
Methods inherited from class org.apache.calcite.sql.SqlNode
clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExpr
-
-
-
-
Constructor Detail
-
SqlDrop
public SqlDrop(SqlOperator operator, SqlParserPos pos, boolean ifExists)
Creates a SqlDrop.
-
SqlDrop
@Deprecated public SqlDrop(SqlParserPos pos)
Deprecated.
-
-