|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.model.source.join.JoinCondition
org.xcmis.search.model.source.join.EquiJoinCondition
public class EquiJoinCondition
A join condition that tests whether a property on a node is equal to a property on another node. A node-tuple satisfies the constraint only if:
selector1Name node has a property named property1Name
, andselector2Name node has a property named property2Name
, andproperty1Name is equal to the value of
property property2Name
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
accept(QueryObjectModelVisitor visitor)
Accepts a visitor and calls the appropriate visit method
depending on the type of this QOM node. |
boolean |
equals(Object obj)
|
String |
getProperty1Name()
Get the name of the property that appears on the left-side of the join. |
String |
getProperty2Name()
Get the name of the property that appears on the left-side of the join. |
SelectorName |
getSelector1Name()
Get the name of the selector that appears on the left-side of the join. |
SelectorName |
getSelector2Name()
Get the name of the selector that appears on the right-side of the join. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EquiJoinCondition(Column column1,
Column column2)
column1 - the column for the left-side of the join; never nullcolumn2 - the column for the right-side of the join; never null
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 null| Method Detail |
|---|
public void accept(QueryObjectModelVisitor visitor)
throws VisitException
QueryElementvisitor and calls the appropriate visit method
depending on the type of this QOM node.
visitor - the visitor.
VisitExceptionQueryElement.accept(org.xcmis.search.QueryObjectModelVisitor)public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public final String getProperty1Name()
public final String getProperty2Name()
public final SelectorName getSelector1Name()
public final SelectorName getSelector2Name()
public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||