| Modifier and Type | Field and Description |
|---|---|
SqlNode[] |
operands |
EMPTY_ARRAY, pos| Modifier | Constructor and Description |
|---|---|
|
SqlBasicCall(SqlOperator operator,
SqlNode[] operands,
SqlParserPos pos) |
protected |
SqlBasicCall(SqlOperator operator,
SqlNode[] operands,
SqlParserPos pos,
boolean expanded,
SqlLiteral functionQualifier) |
| Modifier and Type | Method and Description |
|---|---|
SqlLiteral |
getFunctionQuantifier() |
SqlKind |
getKind()
Returns the type of node this is, or
SqlKind.OTHER if it's nothing special. |
List<SqlNode> |
getOperandList() |
SqlNode[] |
getOperands() |
SqlOperator |
getOperator() |
boolean |
isExpanded()
Whether this call was created by expanding a parentheses-free call to
what was syntactically an identifier.
|
<S extends SqlNode> |
operand(int i) |
int |
operandCount() |
void |
setOperand(int i,
SqlNode operand)
Changes the value of an operand.
|
void |
setOperator(SqlOperator operator) |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getMonotonicity, isCountStar, unparse, validateclone, cloneArray, equalDeep, equalDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExprpublic final SqlNode[] operands
public SqlBasicCall(SqlOperator operator, SqlNode[] operands, SqlParserPos pos)
protected SqlBasicCall(SqlOperator operator, SqlNode[] operands, SqlParserPos pos, boolean expanded, SqlLiteral functionQualifier)
public SqlKind getKind()
SqlNodeSqlKind.OTHER if it's nothing special.getKind in class SqlNodeSqlKind value, never nullSqlNode.isA(java.util.Set<org.apache.calcite.sql.SqlKind>)public boolean isExpanded()
SqlCallisExpanded in class SqlCallpublic void setOperand(int i,
SqlNode operand)
SqlCallSqlValidator; use sparingly.setOperand in class SqlCalli - Operand indexoperand - Operand valuepublic void setOperator(SqlOperator operator)
public SqlOperator getOperator()
getOperator in class SqlCallpublic SqlNode[] getOperands()
public List<SqlNode> getOperandList()
getOperandList in class SqlCallpublic int operandCount()
operandCount in class SqlCallpublic SqlLiteral getFunctionQuantifier()
getFunctionQuantifier in class SqlCallCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.