Class JoinImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
-
- org.apache.jackrabbit.spi.commons.query.qom.SourceImpl
-
- org.apache.jackrabbit.spi.commons.query.qom.JoinImpl
-
public class JoinImpl extends SourceImpl implements Join
JoinImpl
...
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
accept(QOMTreeVisitor visitor, java.lang.Object data)
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.JoinCondition
getJoinCondition()
Gets the join condition.java.lang.String
getJoinType()
Gets the join type.JoinType
getJoinTypeInstance()
Source
getLeft()
Gets the left node-tuple source.Source
getRight()
Gets the right node-tuple source.SelectorImpl[]
getSelectors()
java.lang.String
toString()
-
-
-
Method Detail
-
getJoinTypeInstance
public JoinType getJoinTypeInstance()
-
getLeft
public Source getLeft()
Gets the left node-tuple source.
-
getRight
public Source getRight()
Gets the right node-tuple source.
-
getJoinType
public java.lang.String getJoinType()
Gets the join type.- Specified by:
getJoinType
in interfaceJoin
- Returns:
- either
-
getJoinCondition
public JoinCondition getJoinCondition()
Gets the join condition.- Specified by:
getJoinCondition
in interfaceJoin
- Returns:
- the join condition; non-null
-
getSelectors
public SelectorImpl[] getSelectors()
- Specified by:
getSelectors
in classSourceImpl
- Returns:
- the selectors that are contained in this source.
-
accept
public java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.Exception
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.- Specified by:
accept
in classAbstractQOMNode
- Parameters:
visitor
- the visitor.data
- user defined data, which is passed to the visit method.- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-