Class LuceneSelector<Q,S,E extends Throwable>
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseSelector
-
- org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneSelector<Q,S,E>
-
- All Implemented Interfaces:
LuceneQueryBuilderComponent<Q,S,E>,Selector,Source
public class LuceneSelector<Q,S,E extends Throwable> extends BaseSelector implements LuceneQueryBuilderComponent<Q,S,E>
- Author:
- andyh
-
-
Constructor Summary
Constructors Constructor Description LuceneSelector(QName type, String alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QaddComponent(Set<String> selectors, Map<String,Argument> functionArgs, QueryBuilderContext<Q,S,E> luceneContext, FunctionEvaluationContext functionContext)Generate the lucene query from the query component-
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseSelector
getAlias, getJoinType, getSelector, getSelectorGroups, getSelectors, getType, setJoinType, toString
-
-
-
-
Method Detail
-
addComponent
public Q addComponent(Set<String> selectors, Map<String,Argument> functionArgs, QueryBuilderContext<Q,S,E> luceneContext, FunctionEvaluationContext functionContext) throws E extends Throwable
Description copied from interface:LuceneQueryBuilderComponentGenerate the lucene query from the query component- Specified by:
addComponentin interfaceLuceneQueryBuilderComponent<Q,S,E extends Throwable>functionContext- FunctionEvaluationContext- Returns:
- - the lucene query fragment for this component
- Throws:
EE extends Throwable
-
-