public class EqualityQueryFactory<T> extends AbstractEqualityQueryFactory<T>
DocumentConstants.ISSUE_NON_EMPTY_FIELD_IDS
field.Constructor and Description |
---|
EqualityQueryFactory(IndexInfoResolver<T> tIndexInfoResolver) |
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 EqualityQueryFactory(IndexInfoResolver<T> tIndexInfoResolver)
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-2015 Atlassian. All Rights Reserved.