public abstract class

AbstractEqualityQueryFactory

extends AbstractOperatorQueryFactory<T>
implements OperatorSpecificQueryFactory
java.lang.Object
   ↳ com.atlassian.jira.jql.query.AbstractOperatorQueryFactory<T>
     ↳ com.atlassian.jira.jql.query.AbstractEqualityQueryFactory<T>
Known Direct Subclasses

Summary

Public Constructors
AbstractEqualityQueryFactory(IndexInfoResolver<T> indexInfoResolver)
Public Methods
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)
[Expand]
Inherited Methods
From class com.atlassian.jira.jql.query.AbstractOperatorQueryFactory
From class java.lang.Object
From interface com.atlassian.jira.jql.query.OperatorSpecificQueryFactory

Public Constructors

public AbstractEqualityQueryFactory (IndexInfoResolver<T> indexInfoResolver)

Public Methods

public QueryFactoryResult createQueryForMultipleValues (String fieldName, Operator operator, List<QueryLiteral> rawValues)

Generates the Query for a list of operand ids.

Parameters
fieldName 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.
Returns
  • the queryFactoryResult that contains the query and the metadata.

public QueryFactoryResult createQueryForSingleValue (String fieldName, Operator operator, List<QueryLiteral> rawValues)

Generates the Query for a single operand id.

Parameters
fieldName 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.
Returns
  • the queryFactoryResult that contains the query and the metadata.

public boolean handlesOperator (Operator operator)