org.alfresco.repo.search.impl.querymodel.impl
Class BaseJoin

java.lang.Object
  extended by org.alfresco.repo.search.impl.querymodel.impl.BaseJoin
All Implemented Interfaces:
Join, Source
Direct Known Subclasses:
LuceneJoin

public class BaseJoin
extends java.lang.Object
implements Join


Constructor Summary
BaseJoin(Source left, Source right, JoinType joinType, Constraint joinConstraint)
           
 
Method Summary
 Constraint getJoinCondition()
          Get the join condition.
 JoinType getJoinType()
          Get the join type
 Source getLeft()
          The source for the left hand side of the join
 Source getRight()
          The source for the right hand side of the join
 Selector getSelector(java.lang.String name)
           
 java.util.List getSelectorGroups(FunctionEvaluationContext functionContext)
           
 java.util.Map getSelectors()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseJoin

public BaseJoin(Source left,
                Source right,
                JoinType joinType,
                Constraint joinConstraint)
Method Detail

getJoinCondition

public Constraint getJoinCondition()
Description copied from interface: Join
Get the join condition. Not all constraints are valid join conditions

Specified by:
getJoinCondition in interface Join
Returns:

getJoinType

public JoinType getJoinType()
Description copied from interface: Join
Get the join type

Specified by:
getJoinType in interface Join
Returns:

getLeft

public Source getLeft()
Description copied from interface: Join
The source for the left hand side of the join

Specified by:
getLeft in interface Join
Returns:

getRight

public Source getRight()
Description copied from interface: Join
The source for the right hand side of the join

Specified by:
getRight in interface Join
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSelectors

public java.util.Map getSelectors()
Specified by:
getSelectors in interface Source

getSelector

public Selector getSelector(java.lang.String name)
Specified by:
getSelector in interface Source

getSelectorGroups

public java.util.List getSelectorGroups(FunctionEvaluationContext functionContext)
Specified by:
getSelectorGroups in interface Source


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.