public class SqlCreateView extends org.apache.calcite.sql.SqlCreate implements ExtendedSqlNode
Modifier and Type | Field and Description |
---|---|
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
Constructor and Description |
---|
SqlCreateView(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier viewName,
org.apache.calcite.sql.SqlNodeList fieldList,
org.apache.calcite.sql.SqlNode query,
boolean replace,
org.apache.calcite.sql.SqlCharStringLiteral comment) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlCharStringLiteral |
getComment() |
org.apache.calcite.sql.SqlNodeList |
getFieldList() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlNode |
getQuery() |
org.apache.calcite.sql.SqlIdentifier |
getViewName() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
validate() |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlCreateView(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier viewName, org.apache.calcite.sql.SqlNodeList fieldList, org.apache.calcite.sql.SqlNode query, boolean replace, org.apache.calcite.sql.SqlCharStringLiteral comment)
public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList
in class org.apache.calcite.sql.SqlCall
public org.apache.calcite.sql.SqlIdentifier getViewName()
public org.apache.calcite.sql.SqlNodeList getFieldList()
public org.apache.calcite.sql.SqlNode getQuery()
public org.apache.calcite.sql.SqlCharStringLiteral getComment()
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class org.apache.calcite.sql.SqlCall
public void validate() throws SqlParseException
validate
in interface ExtendedSqlNode
SqlParseException
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.