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 ConstraintgetJoinCondition()Get the join condition.JoinTypegetJoinType()SourcegetLeft()The source for the left hand side of the joinSourcegetRight()The source for the right hand side of the joinSelectorgetSelector(String name)List<Set<String>>getSelectorGroups(FunctionEvaluationContext functionContext)Map<String,Selector>getSelectors()voidsetJoinType(JoinType joinType)StringtoString()
-
-
-
Constructor Detail
-
BaseJoin
public BaseJoin(Source left, Source right, JoinType joinType, Constraint joinConstraint)
-
-
Method Detail
-
getJoinCondition
public Constraint getJoinCondition()
Description copied from interface:JoinGet the join condition. Not all constraints are valid join conditions- Specified by:
getJoinConditionin interfaceJoin- Returns:
- Constraint
-
getJoinType
public JoinType getJoinType()
- Specified by:
getJoinTypein interfaceSource
-
getLeft
public Source getLeft()
Description copied from interface:JoinThe source for the left hand side of the join
-
getRight
public Source getRight()
Description copied from interface:JoinThe source for the right hand side of the join
-
getSelectors
public Map<String,Selector> getSelectors()
- Specified by:
getSelectorsin interfaceSource
-
getSelector
public Selector getSelector(String name)
- Specified by:
getSelectorin interfaceSource
-
getSelectorGroups
public List<Set<String>> getSelectorGroups(FunctionEvaluationContext functionContext)
- Specified by:
getSelectorGroupsin interfaceSource
-
setJoinType
public void setJoinType(JoinType joinType)
- Specified by:
setJoinTypein interfaceSource
-
-