|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.query.AbstractOperatorQueryFactory<T> com.atlassian.jira.jql.query.AbstractEqualityQueryFactory<T> com.atlassian.jira.jql.query.EqualityWithSpecifiedEmptyValueQueryFactory<T>
public class EqualityWithSpecifiedEmptyValueQueryFactory<T>
Used to generate equality lucene queries. When this searches for EMPTY values it will search the index for the provided fieldName with the value that is provdied to represent an empty value.
Constructor Summary | |
---|---|
EqualityWithSpecifiedEmptyValueQueryFactory(IndexInfoResolver<T> indexInfoResolver,
java.lang.String emptyValue)
|
Method Summary | |
---|---|
QueryFactoryResult |
createQueryForEmptyOperand(java.lang.String fieldName,
Operator operator)
Generates the query for an operand that has an OperandHandler that
returns true for the isEmpty method. |
Methods inherited from class com.atlassian.jira.jql.query.AbstractEqualityQueryFactory |
---|
createQueryForMultipleValues, createQueryForSingleValue, handlesOperator |
Methods inherited from class com.atlassian.jira.jql.query.AbstractOperatorQueryFactory |
---|
checkQueryForEmpty, getTermQuery |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqualityWithSpecifiedEmptyValueQueryFactory(IndexInfoResolver<T> indexInfoResolver, java.lang.String emptyValue)
Method Detail |
---|
public QueryFactoryResult createQueryForEmptyOperand(java.lang.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |