Modifier and Type | Field and Description |
---|---|
SqlNode |
body |
SqlNodeList |
withList |
EMPTY_ARRAY
Constructor and Description |
---|
SqlWith(SqlParserPos pos,
SqlNodeList withList,
SqlNode body) |
Modifier and Type | Method and Description |
---|---|
SqlKind |
getKind()
Returns the type of node this is, or
SqlKind.OTHER if it's nothing special. |
List<SqlNode> |
getOperandList() |
SqlOperator |
getOperator() |
void |
validate(SqlValidator validator,
SqlValidatorScope scope)
Validates this call.
|
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, unparse
clone, cloneArray, equalDeep, equalDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExpr
public final SqlNodeList withList
public final SqlNode body
public SqlWith(SqlParserPos pos, SqlNodeList withList, SqlNode body)
public SqlKind getKind()
SqlNode
SqlKind.OTHER
if it's nothing special.getKind
in class SqlNode
SqlKind
value, never nullSqlNode.isA(java.util.Set<org.eigenbase.sql.SqlKind>)
public SqlOperator getOperator()
getOperator
in class SqlCall
public List<SqlNode> getOperandList()
getOperandList
in class SqlCall
public void validate(SqlValidator validator, SqlValidatorScope scope)
SqlCall
The default implementation delegates the validation to the operator's
SqlOperator.validateCall(org.eigenbase.sql.SqlCall, org.eigenbase.sql.validate.SqlValidator, org.eigenbase.sql.validate.SqlValidatorScope, org.eigenbase.sql.validate.SqlValidatorScope)
. Derived classes may override (as do,
for example SqlSelect
and SqlUpdate
).
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.