public static abstract class

Select.ExecutableContext

extends Object
implements SelectQuery<E>
java.lang.Object
   ↳ com.atlassian.jira.entity.Select.ExecutableContext<E>
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Partially constructed query that has enough information supplied to form a complete query.

If no further modifications are needed, use runWith(EntityEngine) or runWith(OfBizDelegator) to specify the execution method, then use one of the return methods from SelectQuery.ExecutionContext to collect the results. When both components are available, EntityEngine should be preferred, but the two mechanisms are functionally equivalent.

Summary

Fields
protected final QueryBuilder<E> queryBuilder
Protected Constructors
ExecutableContext(QueryBuilder<E> queryBuilder)
Public Methods
final ExecutionContext<E> runWith(OfBizDelegator ofBizDelegator)
Specifies the entity engine implementation to use for running the query.
final ExecutionContext<E> runWith(EntityEngine entityEngine)
Specifies the entity engine implementation to use for running the query.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.entity.SelectQuery

Fields

protected final QueryBuilder<E> queryBuilder

Protected Constructors

protected ExecutableContext (QueryBuilder<E> queryBuilder)

Public Methods

public final ExecutionContext<E> runWith (OfBizDelegator ofBizDelegator)

Specifies the entity engine implementation to use for running the query.

Parameters
ofBizDelegator the OfBizDelegator to use for running the query
Returns
  • the fully constructed query, complete with execution context. Use one of the return methods specified by SelectQuery.ExecutionContext to collect the results.

public final ExecutionContext<E> runWith (EntityEngine entityEngine)

Specifies the entity engine implementation to use for running the query.

Parameters
entityEngine the EntityEngine to use for running the query
Returns
  • the fully constructed query, complete with execution context. Use one of the return methods specified by SelectQuery.ExecutionContext to collect the results.