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
 
 
 
 
- 
- All Implemented Interfaces:
 javax.jcr.query.qom.Join,javax.jcr.query.qom.Source
public class JoinImpl extends SourceImpl implements javax.jcr.query.qom.Join
JoinImpl... 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(QOMTreeVisitor visitor, java.lang.Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.javax.jcr.query.qom.JoinConditiongetJoinCondition()Gets the join condition.java.lang.StringgetJoinType()Gets the join type.JoinTypegetJoinTypeInstance()javax.jcr.query.qom.SourcegetLeft()Gets the left node-tuple source.javax.jcr.query.qom.SourcegetRight()Gets the right node-tuple source.SelectorImpl[]getSelectors()java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getJoinTypeInstance
public JoinType getJoinTypeInstance()
 
- 
getLeft
public javax.jcr.query.qom.Source getLeft()
Gets the left node-tuple source.- Specified by:
 getLeftin interfacejavax.jcr.query.qom.Join- Returns:
 - the left source; non-null
 
 
- 
getRight
public javax.jcr.query.qom.Source getRight()
Gets the right node-tuple source.- Specified by:
 getRightin interfacejavax.jcr.query.qom.Join- Returns:
 - the right source; non-null
 
 
- 
getJoinType
public java.lang.String getJoinType()
Gets the join type.- Specified by:
 getJoinTypein interfacejavax.jcr.query.qom.Join- Returns:
 - either 
QueryObjectModelConstants.JCR_JOIN_TYPE_INNER,QueryObjectModelConstants.JCR_JOIN_TYPE_LEFT_OUTER,QueryObjectModelConstants.JCR_JOIN_TYPE_RIGHT_OUTER
 
 
- 
getJoinCondition
public javax.jcr.query.qom.JoinCondition getJoinCondition()
Gets the join condition.- Specified by:
 getJoinConditionin interfacejavax.jcr.query.qom.Join- 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 java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.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:
 java.lang.Exception
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -