Class BaseJoin
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseJoin
-
- Direct Known Subclasses:
LuceneJoin
public class BaseJoin extends Object implements Join
- Author:
- andyh
-
-
Constructor Summary
Constructors Constructor Description BaseJoin(Source left, Source right, JoinType joinType, Constraint joinConstraint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constraint
getJoinCondition()
Get the join condition.JoinType
getJoinType()
Source
getLeft()
The source for the left hand side of the joinSource
getRight()
The source for the right hand side of the joinSelector
getSelector(String name)
List<Set<String>>
getSelectorGroups(FunctionEvaluationContext functionContext)
Map<String,Selector>
getSelectors()
void
setJoinType(JoinType joinType)
String
toString()
-
-
-
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 interfaceJoin
- Returns:
- Constraint
-
getJoinType
public JoinType getJoinType()
- Specified by:
getJoinType
in interfaceSource
-
getLeft
public Source getLeft()
Description copied from interface:Join
The source for the left hand side of the join
-
getRight
public Source getRight()
Description copied from interface:Join
The source for the right hand side of the join
-
getSelectors
public Map<String,Selector> getSelectors()
- Specified by:
getSelectors
in interfaceSource
-
getSelector
public Selector getSelector(String name)
- Specified by:
getSelector
in interfaceSource
-
getSelectorGroups
public List<Set<String>> getSelectorGroups(FunctionEvaluationContext functionContext)
- Specified by:
getSelectorGroups
in interfaceSource
-
setJoinType
public void setJoinType(JoinType joinType)
- Specified by:
setJoinType
in interfaceSource
-
-