public class SqlCreateView extends SqlCreate implements SqlExecutableStatement
CREATE VIEW statement.| 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 |
|---|
SqlCreateView(SqlParserPos pos,
boolean replace,
SqlIdentifier name,
SqlNodeList columnList,
SqlNode query)
Creates a SqlCreateView.
|
| 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
SqlCreateView(SqlParserPos pos, boolean replace, 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.