public class SqlCreateTable extends SqlCreate implements SqlExecutableStatement
CREATE TABLE statement.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
SqlCreateTable.AbstractModifiableTable
Abstract base class for implementations of
ModifiableTable. |
private static class |
SqlCreateTable.ColumnDef
Column definition.
|
(package private) static class |
SqlCreateTable.MutableArrayTable
Table backed by a Java list.
|
| Modifier and Type | Field and Description |
|---|---|
private SqlNodeList |
columnList |
private SqlIdentifier |
name |
private static SqlOperator |
OPERATOR |
private SqlNode |
query |
ifNotExistsDDL_OPERATOREMPTY_ARRAY, pos| Constructor and Description |
|---|
SqlCreateTable(SqlParserPos pos,
boolean replace,
boolean ifNotExists,
SqlIdentifier name,
SqlNodeList columnList,
SqlNode query)
Creates a SqlCreateTable.
|
| 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 columnList
private final SqlNode query
private static final SqlOperator OPERATOR
SqlCreateTable(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
public List<SqlNode> getOperandList()
getOperandList in class SqlCallpublic void unparse(SqlWriter writer, int leftPrec, int rightPrec)
public void execute(CalcitePrepare.Context context)
execute in interface SqlExecutableStatementCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.