org.xcmis.search.model.source
Class Join

java.lang.Object
  extended by org.xcmis.search.model.source.Source
      extended by org.xcmis.search.model.source.Join
All Implemented Interfaces:
Serializable, QueryElement

public class Join
extends Source

Created by The eXo Platform SAS.

Version:
$Id: JoinImpl.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Sergey Kabashnyuk
See Also:
Serialized Form

Constructor Summary
Join(Source left, JoinType joinType, Source right, JoinCondition joinCondition)
           
 
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)
          
 JoinCondition getJoinCondition()
          Get the join condition
 Source getLeft()
          Get the source that represents the left-hand-side of the join.
 Source getRight()
          Get the source that represents the right-hand-side of the join.
 JoinType getType()
          Get the type of join.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Join

public Join(Source left,
            JoinType joinType,
            Source right,
            JoinCondition joinCondition)
Parameters:
left - - Left node-tuple source.
right - - Right node-tuple source.
joinType - - Join type.
joinCondition - - join condition.
Method Detail

accept

public void accept(QueryObjectModelVisitor visitor)
            throws VisitException
Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.

Parameters:
visitor - the visitor.
Throws:
VisitException

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

getJoinCondition

public final JoinCondition getJoinCondition()
Get the join condition

Returns:
the join condition; never null

getLeft

public final Source getLeft()
Get the source that represents the left-hand-side of the join.

Returns:
the left-side source; never null

getRight

public final Source getRight()
Get the source that represents the right-hand-side of the join.

Returns:
the right-side source; never null

getType

public final JoinType getType()
Get the type of join.

Returns:
the join type; never null

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.