org.apache.jackrabbit.core.query.qom
Class JoinImpl

java.lang.Object
  extended by org.apache.jackrabbit.core.query.qom.AbstractQOMNode
      extended by org.apache.jackrabbit.core.query.qom.SourceImpl
          extended by org.apache.jackrabbit.core.query.qom.JoinImpl
All Implemented Interfaces:
Join, Source

public class JoinImpl
extends SourceImpl
implements Join

JoinImpl...


Field Summary
 
Fields inherited from class org.apache.jackrabbit.core.query.qom.AbstractQOMNode
resolver
 
Method Summary
 Object accept(QOMTreeVisitor visitor, Object data)
          Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.
 JoinCondition getJoinCondition()
          Gets the join condition.
 int getJoinType()
          Gets the join type.
 Source getLeft()
          Gets the left node-tuple source.
 Source getRight()
          Gets the right node-tuple source.
 
Methods inherited from class org.apache.jackrabbit.core.query.qom.AbstractQOMNode
getJCRName, getJCRPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLeft

public Source getLeft()
Gets the left node-tuple source.

Specified by:
getLeft in interface Join
Returns:
the left source; non-null

getRight

public Source getRight()
Gets the right node-tuple source.

Specified by:
getRight in interface Join
Returns:
the right source; non-null

getJoinType

public int getJoinType()
Gets the join type.

Specified by:
getJoinType in interface Join
Returns:
either

getJoinCondition

public JoinCondition getJoinCondition()
Gets the join condition.

Specified by:
getJoinCondition in interface Join
Returns:
the join condition; non-null

accept

public Object accept(QOMTreeVisitor visitor,
                     Object data)
              throws Exception
Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.

Specified by:
accept in class AbstractQOMNode
Parameters:
visitor - the visitor.
data - user defined data, which is passed to the visit method.
Throws:
Exception


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.