public class SqlWithItem extends SqlCall
Modifier and Type | Class and Description |
---|---|
private static class |
SqlWithItem.SqlWithItemOperator
SqlWithItemOperator is used to represent an item in a WITH clause of a
query.
|
Modifier and Type | Field and Description |
---|---|
SqlNodeList |
columnList |
SqlIdentifier |
name |
SqlNode |
query |
EMPTY_ARRAY, pos
Constructor and Description |
---|
SqlWithItem(SqlParserPos pos,
SqlIdentifier name,
SqlNodeList columnList,
SqlNode query) |
Modifier and Type | Method and Description |
---|---|
SqlKind |
getKind()
Returns the type of node this is, or
SqlKind.OTHER if it's nothing special. |
java.util.List<SqlNode> |
getOperandList() |
SqlOperator |
getOperator() |
void |
setOperand(int i,
SqlNode operand)
Changes the value of an operand.
|
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getMonotonicity, isCountStar, isExpanded, operand, operandCount, unparse, validate
clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExpr
public SqlIdentifier name
public SqlNodeList columnList
public SqlNode query
public SqlWithItem(SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
public SqlKind getKind()
SqlNode
SqlKind.OTHER
if it's nothing special.getKind
in class SqlCall
SqlKind
value, never nullSqlNode.isA(java.util.Set<org.apache.calcite.sql.SqlKind>)
public java.util.List<SqlNode> getOperandList()
getOperandList
in class SqlCall
public void setOperand(int i, SqlNode operand)
SqlCall
SqlValidator
; use sparingly.setOperand
in class SqlCall
i
- Operand indexoperand
- Operand valuepublic SqlOperator getOperator()
getOperator
in class SqlCall
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.