org.eigenbase.sql
Class SqlJoin
java.lang.Object
org.eigenbase.sql.SqlNode
org.eigenbase.sql.SqlCall
org.eigenbase.sql.SqlJoin
- All Implemented Interfaces:
- Cloneable
public class SqlJoin
- extends SqlCall
A SqlJoin
is ...
- Since:
- Mar 29, 2003
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/SqlJoin.java#13 $
- Author:
- jhyde
Methods inherited from class org.eigenbase.sql.SqlCall |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, getOperands, getOperator, isA, isCountStar, isExpanded, isName, setOperand, setOperator, unparse, validate |
LEFT_OPERAND
public static final int LEFT_OPERAND
- See Also:
- Constant Field Values
IS_NATURAL_OPERAND
public static final int IS_NATURAL_OPERAND
- Operand says whether this is a natural join. Must be constant TRUE or
FALSE.
- See Also:
- Constant Field Values
TYPE_OPERAND
public static final int TYPE_OPERAND
- Value must be a
SqlLiteral
, one of the integer codes for SqlJoinOperator.JoinType
.
- See Also:
- Constant Field Values
RIGHT_OPERAND
public static final int RIGHT_OPERAND
- See Also:
- Constant Field Values
CONDITION_TYPE_OPERAND
public static final int CONDITION_TYPE_OPERAND
- Value must be a
SqlLiteral
, one of the integer codes for SqlJoinOperator.ConditionType
.
- See Also:
- Constant Field Values
CONDITION_OPERAND
public static final int CONDITION_OPERAND
- See Also:
- Constant Field Values
SqlJoin
public SqlJoin(SqlJoinOperator operator,
SqlNode[] operands,
SqlParserPos pos)
getCondition
public final SqlNode getCondition()
getConditionType
public final SqlJoinOperator.ConditionType getConditionType()
- Returns a
SqlJoinOperator.ConditionType
- "Postcondition:"
- return != null
getJoinType
public final SqlJoinOperator.JoinType getJoinType()
- Returns a
SqlJoinOperator.JoinType
- "Postcondition:"
- return != null
getLeft
public final SqlNode getLeft()
isNatural
public final boolean isNatural()
getRight
public final SqlNode getRight()