public abstract class AbstractEqualityQueryFactory<T> extends AbstractOperatorQueryFactory<T> implements OperatorSpecificQueryFactory
| Constructor and Description |
|---|
AbstractEqualityQueryFactory(IndexInfoResolver<T> indexInfoResolver) |
| Modifier and Type | Method and Description |
|---|---|
QueryFactoryResult |
createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues)
Generates the Query for a list of operand ids.
|
QueryFactoryResult |
createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues)
Generates the Query for a single operand id.
|
boolean |
handlesOperator(Operator operator) |
checkQueryForEmpty, getTermQueryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateQueryForEmptyOperandpublic AbstractEqualityQueryFactory(IndexInfoResolver<T> indexInfoResolver)
public QueryFactoryResult createQueryForSingleValue(String fieldName, Operator operator, List<QueryLiteral> rawValues)
OperatorSpecificQueryFactorycreateQueryForSingleValue in interface OperatorSpecificQueryFactoryfieldName - the index field name the query should be generated for.operator - operator which is handled by this implementation.rawValues - the raw values provided to the operand that need to be converted to index values.public QueryFactoryResult createQueryForMultipleValues(String fieldName, Operator operator, List<QueryLiteral> rawValues)
OperatorSpecificQueryFactorycreateQueryForMultipleValues in interface OperatorSpecificQueryFactoryfieldName - the index field name the query should be generated for.operator - operator which is handled by this implementation.rawValues - the raw values provided to the operand that need to be converted to index values.public boolean handlesOperator(Operator operator)
handlesOperator in interface OperatorSpecificQueryFactoryoperator - the operator in question.Copyright © 2002-2024 Atlassian. All Rights Reserved.