| 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 |
|---|---|
(package private) SqlNode |
condition |
(package private) SqlLiteral |
conditionType
Value must be a
SqlLiteral, one of the integer codes for
JoinConditionType. |
(package private) SqlLiteral |
joinType
Value must be a
SqlLiteral, one of the integer codes for
JoinType. |
(package private) SqlNode |
left |
(package private) SqlLiteral |
natural
Operand says whether this is a natural join.
|
static SqlJoin.SqlJoinOperator |
OPERATOR |
(package private) SqlNode |
right |
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, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExprpublic static final SqlJoin.SqlJoinOperator OPERATOR
SqlNode left
SqlLiteral natural
SqlLiteral joinType
SqlLiteral, one of the integer codes for
JoinType.SqlNode right
SqlLiteral conditionType
SqlLiteral, one of the integer codes for
JoinConditionType.SqlNode condition
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 SqlCallSqlKind 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–2018 The Apache Software Foundation. All rights reserved.