Package com.atlassian.jira.entity
Class Select.ExecutableContext<E>
java.lang.Object
com.atlassian.jira.entity.Select.ExecutableContext<E>
- All Implemented Interfaces:
SelectQuery<E>
- Direct Known Subclasses:
Select.LimitContext
,Select.OrderByContext
,Select.WhereClauseAwareContext
- Enclosing class:
- Select
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.entity.SelectQuery
SelectQuery.ExecutionContext<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.atlassian.jira.entity.Select.QueryBuilder<E>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ExecutableContext
(com.atlassian.jira.entity.Select.QueryBuilder<E> queryBuilder) -
Method Summary
Modifier and TypeMethodDescriptionfinal SelectQuery.ExecutionContext<E>
runWith
(EntityEngine entityEngine) Specifies the entity engine implementation to use for running the query.final SelectQuery.ExecutionContext<E>
runWith
(OfBizDelegator ofBizDelegator) Specifies the entity engine implementation to use for running the query.
-
Field Details
-
queryBuilder
-
-
Constructor Details
-
ExecutableContext
-
-
Method Details
-
runWith
Specifies the entity engine implementation to use for running the query.- Specified by:
runWith
in interfaceSelectQuery<E>
- Parameters:
ofBizDelegator
- theOfBizDelegator
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.
-
runWith
Specifies the entity engine implementation to use for running the query.- Specified by:
runWith
in interfaceSelectQuery<E>
- Parameters:
entityEngine
- theEntityEngine
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.
-