| Modifier and Type | Class and Description |
|---|---|
static class |
SqlJoin.SqlJoinOperator
SqlJoinOperator describes the syntax of the SQL
JOIN operator. |
| Modifier and Type | Field and Description |
|---|---|
static SqlJoin.SqlJoinOperator |
OPERATOR |
EMPTY_ARRAY, pos| Constructor and Description |
|---|
SqlJoin(SqlParserPos pos,
SqlNode left,
SqlLiteral natural,
SqlLiteral joinType,
SqlNode right,
SqlLiteral conditionType,
SqlNode condition) |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
getCondition() |
JoinConditionType |
getConditionType()
Returns a
JoinConditionType, never null. |
SqlLiteral |
getConditionTypeNode() |
JoinType |
getJoinType()
Returns a
JoinType, never null. |
SqlLiteral |
getJoinTypeNode() |
SqlKind |
getKind()
Returns the type of node this is, or
SqlKind.OTHER if it's nothing special. |
SqlNode |
getLeft() |
List<SqlNode> |
getOperandList() |
SqlOperator |
getOperator() |
SqlNode |
getRight() |
boolean |
isNatural() |
SqlLiteral |
isNaturalNode() |
void |
setLeft(SqlNode left) |
void |
setOperand(int i,
SqlNode operand)
Changes the value of an operand.
|
void |
setRight(SqlNode right) |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getMonotonicity, isCountStar, isExpanded, operand, operandCount, unparse, validateclone, cloneArray, equalDeep, equalDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExprpublic static final SqlJoin.SqlJoinOperator OPERATOR
public SqlJoin(SqlParserPos pos, SqlNode left, SqlLiteral natural, SqlLiteral joinType, SqlNode right, SqlLiteral conditionType, SqlNode condition)
public SqlOperator getOperator()
getOperator in class SqlCallpublic 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 List<SqlNode> getOperandList()
getOperandList in class SqlCallpublic void setOperand(int i,
SqlNode operand)
SqlCallSqlValidator; use sparingly.setOperand in class SqlCalli - Operand indexoperand - Operand valuepublic final SqlNode getCondition()
public final JoinConditionType getConditionType()
JoinConditionType, never null.public SqlLiteral getConditionTypeNode()
public SqlLiteral getJoinTypeNode()
public final SqlNode getLeft()
public void setLeft(SqlNode left)
public final boolean isNatural()
public final SqlLiteral isNaturalNode()
public final SqlNode getRight()
public void setRight(SqlNode right)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.