public abstract class

AbstractEqualityDbQueryFactory

extends AbstractOperatorDbQueryFactory<T>
implements OperatorSpecificDbQueryFactory
java.lang.Object
   ↳ com.atlassian.jira.jql.dbquery.AbstractOperatorDbQueryFactory<T>
     ↳ com.atlassian.jira.jql.dbquery.AbstractEqualityDbQueryFactory<T>
Known Direct Subclasses

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.jql.dbquery.AbstractOperatorDbQueryFactory
Public Constructors
AbstractEqualityDbQueryFactory(String fieldName, Path path, VisibilityClauseQueryFactory visibilityQueryFactory, NameResolver<T> nameResolver)
Public Methods
DbQueryFactoryResult createQueryForMultipleValues(Operator operator, List<QueryLiteral> rawValues)
Generates the Query for a list of operand ids.
DbQueryFactoryResult createQueryForSingleValue(Operator operator, List<QueryLiteral> rawValues)
Generates the predicate for a single operand id.
boolean handlesOperator(Operator operator)
Protected Methods
DbQueryFactoryResult handleEquals(Path path, List<QueryLiteral> values)
DbQueryFactoryResult handleNotEquals(Path path, List<QueryLiteral> values)
[Expand]
Inherited Methods
From class com.atlassian.jira.jql.dbquery.AbstractOperatorDbQueryFactory
From class java.lang.Object
From interface com.atlassian.jira.jql.dbquery.OperatorSpecificDbQueryFactory

Public Constructors

public AbstractEqualityDbQueryFactory (String fieldName, Path path, VisibilityClauseQueryFactory visibilityQueryFactory, NameResolver<T> nameResolver)

Public Methods

public DbQueryFactoryResult createQueryForMultipleValues (Operator operator, List<QueryLiteral> rawValues)

Generates the Query for a list of operand ids.

Parameters
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 DbQueryFactoryResult createQueryForSingleValue (Operator operator, List<QueryLiteral> rawValues)

Generates the predicate for a single operand id.

Parameters
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)

Protected Methods

protected DbQueryFactoryResult handleEquals (Path path, List<QueryLiteral> values)

protected DbQueryFactoryResult handleNotEquals (Path path, List<QueryLiteral> values)