public class JoinPredicate extends FromClause
LanguageObject.Util
PRESERVE
Constructor and Description |
---|
JoinPredicate()
Construct a JoinPredicate
|
JoinPredicate(FromClause leftClause,
FromClause rightClause,
JoinType type)
Construct a JoinPredicate between two clauses of the specified type.
|
JoinPredicate(FromClause leftClause,
FromClause rightClause,
JoinType type,
Criteria criteria)
Construct a JoinPredicate between two clauses of the specified type.
|
JoinPredicate(FromClause leftClause,
FromClause rightClause,
JoinType type,
List criteria)
Construct a JoinPredicate between two clauses of the specified type.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
protected FromClause |
cloneDirect()
Return deep clone for object
|
void |
collectGroups(Collection<GroupSymbol> groups)
Collect all GroupSymbols for this from clause.
|
boolean |
equals(Object obj)
Compare this object to another
|
List |
getJoinCriteria()
Get join criteria for this predicate
|
JoinType |
getJoinType()
Get join type for this predicate
|
FromClause |
getLeftClause()
Get left clause
|
FromClause |
getRightClause()
Get right clause
|
int |
hashCode()
Get hash code for object
|
void |
setJoinCriteria(List criteria)
Set join criteria for this predicate
|
void |
setJoinType(JoinType type)
Set join type for this predicate
|
void |
setLeftClause(FromClause predicate)
Set left clause
|
void |
setRightClause(FromClause predicate)
Set right clause
|
clone, getMakeDep, getMakeInd, hasHint, isMakeDep, isMakeNotDep, isNoUnnest, isOptional, isPreserve, setMakeDep, setMakeDep, setMakeInd, setMakeNotDep, setNoUnnest, setOptional, setPreserve, toString
public JoinPredicate()
public JoinPredicate(FromClause leftClause, FromClause rightClause, JoinType type)
leftClause
- Left from clauserightClause
- Right from clausetype
- Type of joinpublic JoinPredicate(FromClause leftClause, FromClause rightClause, JoinType type, List criteria)
leftClause
- Left from clauserightClause
- Right from clausetype
- Type of joincriteria
- List of Criteria for this join predicatepublic JoinPredicate(FromClause leftClause, FromClause rightClause, JoinType type, Criteria criteria)
leftClause
- Left from clauserightClause
- Right from clausetype
- Type of joincriteria
- List of Criteria for this join predicatepublic void setLeftClause(FromClause predicate)
predicate
- Left clause to setpublic FromClause getLeftClause()
public void setRightClause(FromClause predicate)
predicate
- Right clause to setpublic FromClause getRightClause()
public void setJoinType(JoinType type)
type
- Type of joinpublic JoinType getJoinType()
public void setJoinCriteria(List criteria)
criteria
- List of Criteria
set on this predicatepublic List getJoinCriteria()
Criteria
public void collectGroups(Collection<GroupSymbol> groups)
collectGroups
in class FromClause
groups
- Groups to add topublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
acceptVisitor
in class FromClause
visitor
- Visitor being usedpublic boolean equals(Object obj)
equals
in class FromClause
obj
- Other objectpublic int hashCode()
protected FromClause cloneDirect()
cloneDirect
in class FromClause
Copyright © 2019. All rights reserved.