Class LuceneQueryModelFactory<Q,S,E extends Throwable>
java.lang.Object
org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneQueryModelFactory<Q,S,E>
- All Implemented Interfaces:
QueryModelFactory
public class LuceneQueryModelFactory<Q,S,E extends Throwable>
extends Object
implements QueryModelFactory
- Author:
- andyh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConjunction(List<Constraint> constraints) createDisjunction(List<Constraint> constraints) createFunctionalConstraint(Function function, Map<String, Argument> functionArguments) createJoin(Source left, Source right, JoinType joinType, Constraint joinCondition) createListArgument(String name, ArrayList<Argument> arguments) createLiteralArgument(String name, QName type, Serializable value) createOrdering(Column column, Order order) createParameterArgument(String name, String parameterName) createPropertyArgument(String name, boolean queryable, boolean orderable, String selector, String propertyName) createQuery(List<Column> columns, Source source, Constraint constraint, List<Ordering> orderings) createSelector(QName classQName, String alias) createSelectorArgument(String name, String selectorAlias) getFunction(String functionName)
-
Constructor Details
-
LuceneQueryModelFactory
public LuceneQueryModelFactory()Default lucene query model factory and functions
-
-
Method Details
-
createColumn
- Specified by:
createColumnin interfaceQueryModelFactory
-
createConjunction
- Specified by:
createConjunctionin interfaceQueryModelFactory
-
createDisjunction
- Specified by:
createDisjunctionin interfaceQueryModelFactory
-
createFunctionalConstraint
public Constraint createFunctionalConstraint(Function function, Map<String, Argument> functionArguments) - Specified by:
createFunctionalConstraintin interfaceQueryModelFactory
-
createJoin
- Specified by:
createJoinin interfaceQueryModelFactory
-
createLiteralArgument
- Specified by:
createLiteralArgumentin interfaceQueryModelFactory
-
createOrdering
- Specified by:
createOrderingin interfaceQueryModelFactory
-
createParameterArgument
- Specified by:
createParameterArgumentin interfaceQueryModelFactory
-
createPropertyArgument
public PropertyArgument createPropertyArgument(String name, boolean queryable, boolean orderable, String selector, String propertyName) - Specified by:
createPropertyArgumentin interfaceQueryModelFactory
-
createQuery
public Query createQuery(List<Column> columns, Source source, Constraint constraint, List<Ordering> orderings) - Specified by:
createQueryin interfaceQueryModelFactory
-
createSelector
- Specified by:
createSelectorin interfaceQueryModelFactory
-
getFunction
- Specified by:
getFunctionin interfaceQueryModelFactory
-
createSelectorArgument
- Specified by:
createSelectorArgumentin interfaceQueryModelFactory
-
createListArgument
- Specified by:
createListArgumentin interfaceQueryModelFactory
-
createFunctionArgument
public FunctionArgument createFunctionArgument(String name, Function function, Map<String, Argument> functionArguments) - Specified by:
createFunctionArgumentin interfaceQueryModelFactory
-