@Immutable public class EquiJoinCondition extends Object implements JoinCondition, EquiJoinCondition
selector1Name node has a property named property1Name, andselector2Name node has a property named property2Name, andproperty1Name is equal to the value of property property2Name| Constructor and Description |
|---|
EquiJoinCondition(Column column1,
Column column2)
Create an equi-join condition, given the columns.
|
EquiJoinCondition(SelectorName selector1Name,
String property1Name,
SelectorName selector2Name,
String property2Name)
Create an equi-join condition, given the names of the selector and property for the left- and right-hand-side of the join.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
String |
getProperty1Name() |
String |
getProperty2Name() |
String |
getSelector1Name() |
String |
getSelector2Name() |
int |
hashCode() |
SelectorName |
selector1Name()
Get the name of the selector that appears on the left-side of the join.
|
SelectorName |
selector2Name()
Get the name of the selector that appears on the right-side of the join.
|
String |
toString() |
public EquiJoinCondition(SelectorName selector1Name, String property1Name, SelectorName selector2Name, String property2Name)
selector1Name - the selector name appearing on the left-side of the join; never nullproperty1Name - the property name for the left-side of the join; never nullselector2Name - the selector name appearing on the right-side of the join; never nullproperty2Name - the property name for the right-side of the join; never nullpublic final SelectorName selector1Name()
public final SelectorName selector2Name()
public String getSelector1Name()
getSelector1Name in interface EquiJoinConditionpublic String getSelector2Name()
getSelector2Name in interface EquiJoinConditionpublic final String getProperty1Name()
getProperty1Name in interface EquiJoinConditionpublic final String getProperty2Name()
getProperty2Name in interface EquiJoinConditionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.