public class SqlCreateType extends SqlCreate implements SqlExecutableStatement
CREATE TYPE statement.| Modifier and Type | Field and Description |
|---|---|
private SqlNodeList |
attributeDefs |
private SqlDataTypeSpec |
dataType |
private SqlIdentifier |
name |
private static SqlOperator |
OPERATOR |
ifNotExistsDDL_OPERATOREMPTY_ARRAY, pos| Constructor and Description |
|---|
SqlCreateType(SqlParserPos pos,
boolean replace,
SqlIdentifier name,
SqlNodeList attributeDefs,
SqlDataTypeSpec dataType)
Creates a SqlCreateType.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CalcitePrepare.Context context) |
List<SqlNode> |
getOperandList() |
void |
unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
getReplace, setReplacegetOperatoraccept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validateclone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExprprivate final SqlIdentifier name
private final SqlNodeList attributeDefs
private final SqlDataTypeSpec dataType
private static final SqlOperator OPERATOR
SqlCreateType(SqlParserPos pos, boolean replace, SqlIdentifier name, SqlNodeList attributeDefs, SqlDataTypeSpec dataType)
public void execute(CalcitePrepare.Context context)
execute in interface SqlExecutableStatementpublic List<SqlNode> getOperandList()
getOperandList in class SqlCallCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.