public abstract static class Select.ExecutableContext<E> extends Object implements SelectQuery<E>
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.
SelectQuery.ExecutionContext<E>
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.jira.entity.Select.QueryBuilder<E> |
queryBuilder |
Modifier | Constructor and Description |
---|---|
protected |
ExecutableContext(com.atlassian.jira.entity.Select.QueryBuilder<E> queryBuilder) |
Modifier and Type | Method and Description |
---|---|
SelectQuery.ExecutionContext<E> |
runWith(EntityEngine entityEngine)
Specifies the entity engine implementation to use for running the query.
|
SelectQuery.ExecutionContext<E> |
runWith(OfBizDelegator ofBizDelegator)
Specifies the entity engine implementation to use for running the query.
|
protected final com.atlassian.jira.entity.Select.QueryBuilder<E> queryBuilder
protected ExecutableContext(com.atlassian.jira.entity.Select.QueryBuilder<E> queryBuilder)
public final SelectQuery.ExecutionContext<E> runWith(OfBizDelegator ofBizDelegator)
runWith
in interface SelectQuery<E>
ofBizDelegator
- the OfBizDelegator
to use for running the querySelectQuery.ExecutionContext
to collect the results.public final SelectQuery.ExecutionContext<E> runWith(EntityEngine entityEngine)
runWith
in interface SelectQuery<E>
entityEngine
- the EntityEngine
to use for running the querySelectQuery.ExecutionContext
to collect the results.Copyright © 2002-2019 Atlassian. All Rights Reserved.