Package org.apache.calcite.sql
Class SqlCreate
java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.calcite.sql.SqlDdl
org.apache.calcite.sql.SqlCreate
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
SqlCreateForeignSchema
,SqlCreateFunction
,SqlCreateMaterializedView
,SqlCreateSchema
,SqlCreateTable
,SqlCreateTableLike
,SqlCreateType
,SqlCreateView
Base class for an CREATE statements parse tree nodes. The portion of the
statement covered by this class is "CREATE [ OR REPLACE ]". Subclasses handle
whatever comes afterwards.
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
Whether "IF NOT 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
ModifierConstructorDescriptionprotected
SqlCreate
(SqlParserPos pos, boolean replace) Deprecated.protected
SqlCreate
(SqlOperator operator, SqlParserPos pos, boolean replace, boolean ifNotExists) Creates a SqlCreate. -
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, toList, toList, toSqlString, toSqlString, toSqlString, toString, unparseWithParentheses, validateExpr
-
Field Details
-
ifNotExists
public final boolean ifNotExistsWhether "IF NOT EXISTS" was specified.
-
-
Constructor Details
-
SqlCreate
Creates a SqlCreate. -
SqlCreate
Deprecated.
-
-
Method Details
-
getReplace
public boolean getReplace() -
setReplace
public void setReplace(boolean replace)
-