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...
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
resolver
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(QOMTreeVisitor visitor, Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.JoinConditiongetJoinCondition()Gets the join condition.StringgetJoinType()Gets the join type.JoinTypegetJoinTypeInstance()SourcegetLeft()Gets the left node-tuple source.SourcegetRight()Gets the right node-tuple source.SelectorImpl[]getSelectors()StringtoString()-
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
getJCRName, getJCRPath, protect, quote, quote
-
-
-
-
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 String getJoinType()
Gets the join type.- Specified by:
getJoinTypein interfaceJoin- Returns:
- either
-
getJoinCondition
public JoinCondition getJoinCondition()
Gets the join condition.- Specified by:
getJoinConditionin interfaceJoin- Returns:
- the join condition; non-null
-
getSelectors
public SelectorImpl[] getSelectors()
- Specified by:
getSelectorsin classSourceImpl- Returns:
- the selectors that are contained in this source.
-
accept
public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.- Specified by:
acceptin classAbstractQOMNode- Parameters:
visitor- the visitor.data- user defined data, which is passed to the visit method.- Throws:
Exception
-
-