public class SqlCreateMaterializedView extends SqlCreate implements SqlExecutableStatement
CREATE MATERIALIZED VIEW statement.| Modifier and Type | Class and Description |
|---|---|
private static class |
SqlCreateMaterializedView.MaterializedViewTable
A table that implements a materialized view.
|
| 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 |
|---|
SqlCreateMaterializedView(SqlParserPos pos,
boolean replace,
boolean ifNotExists,
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
SqlCreateMaterializedView(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.