public class EqualityWithSpecifiedEmptyValueQueryFactory<T> extends AbstractEqualityQueryFactory<T>
Constructor and Description |
---|
EqualityWithSpecifiedEmptyValueQueryFactory(IndexInfoResolver<T> indexInfoResolver,
String emptyValue) |
Modifier and Type | Method and Description |
---|---|
QueryFactoryResult |
createQueryForEmptyOperand(String fieldName,
Operator operator)
Generates the query for an operand that has an
OperandHandler that
returns true for the isEmpty method. |
createQueryForMultipleValues, createQueryForSingleValue, handlesOperator
checkQueryForEmpty, getTermQuery
public EqualityWithSpecifiedEmptyValueQueryFactory(IndexInfoResolver<T> indexInfoResolver, String emptyValue)
public QueryFactoryResult createQueryForEmptyOperand(String fieldName, Operator operator)
OperatorSpecificQueryFactory
OperandHandler
that
returns true for the isEmpty method. This should generate a Lucene query that will perform the correct search
for issues where the field value is not set.fieldName
- the index field name the query should be generated for.operator
- operator which is handled by this implementation.Copyright © 2002-2024 Atlassian. All Rights Reserved.