public class OuterJoinDesc extends Object implements MetaDefItem, Serializable
Modifier and Type | Field and Description |
---|---|
static OuterJoinDesc[] |
EMPTY_OUTERJOIN_ARRAY |
Constructor and Description |
---|
OuterJoinDesc(OuterJoinType outerJoinType,
ExprIdentNode optLeftNode,
ExprIdentNode optRightNode,
ExprIdentNode[] optAddLeftNode,
ExprIdentNode[] optAddRightNode)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
consistsOfAllInnerJoins(OuterJoinDesc[] outerJoinDescList) |
ExprIdentNode[] |
getAdditionalLeftNodes()
Returns additional properties in the on-clause, if any, that are connected via logical-and
|
ExprIdentNode[] |
getAdditionalRightNodes()
Returns additional properties in the on-clause, if any, that are connected via logical-and
|
ExprIdentNode |
getOptLeftNode()
Returns left hand identifier node.
|
ExprIdentNode |
getOptRightNode()
Returns right hand identifier node.
|
OuterJoinType |
getOuterJoinType()
Returns the type of outer join (left/right/full).
|
static boolean |
hasOnClauses(OuterJoinDesc[] outerJoinDescList) |
ExprNode |
makeExprNode(ExprEvaluatorContext exprEvaluatorContext)
Make an expression node that represents the outer join criteria as specified in the on-clause.
|
static OuterJoinDesc[] |
toArray(Collection<OuterJoinDesc> expressions) |
public static final OuterJoinDesc[] EMPTY_OUTERJOIN_ARRAY
public OuterJoinDesc(OuterJoinType outerJoinType, ExprIdentNode optLeftNode, ExprIdentNode optRightNode, ExprIdentNode[] optAddLeftNode, ExprIdentNode[] optAddRightNode)
outerJoinType
- - type of the outer joinoptLeftNode
- - left hand identifier nodeoptRightNode
- - right hand identifier nodeoptAddLeftNode
- - additional optional left hand identifier nodes for the on-clause in a logical-andoptAddRightNode
- - additional optional right hand identifier nodes for the on-clause in a logical-andpublic OuterJoinType getOuterJoinType()
public ExprIdentNode getOptLeftNode()
public ExprIdentNode getOptRightNode()
public ExprIdentNode[] getAdditionalLeftNodes()
public ExprIdentNode[] getAdditionalRightNodes()
public ExprNode makeExprNode(ExprEvaluatorContext exprEvaluatorContext)
exprEvaluatorContext
- context for expression evalauationpublic static boolean consistsOfAllInnerJoins(OuterJoinDesc[] outerJoinDescList)
public static OuterJoinDesc[] toArray(Collection<OuterJoinDesc> expressions)
public static boolean hasOnClauses(OuterJoinDesc[] outerJoinDescList)