java.lang.Object | |
↳ | com.atlassian.jira.entity.SelectQueryImpl.ExecutionContextImpl<E> |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the selected values in a list with the mapping function applied to each of them.
| |||||||||||
Returns the selected values in a list.
| |||||||||||
Apply an
EntityListConsumer to the returned results. | |||||||||||
Returns a count of matching items.
| |||||||||||
Returns the single Entity that is the result of this query.
| |||||||||||
Visits each entity returned by the query.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||
![]()
|
Returns the selected values in a list with the mapping function applied to each of them. For example,
if mappingFunction
is a Function<GenericValue,String>
, then each value is returned
as the String
produced by the function instead of the GenericValue
itself.
Returns the selected values in a list.
Apply an EntityListConsumer
to the returned results.
This is equivalent to calling visitWith(Visitor)
, except that the entity list consumer can
return a value.
consumer | the entity list consumer that will consume the query results |
---|
result()
method.
Returns a count of matching items. Note that this does not go through the
the entityName + "Count"
pseudo-view stuff in the entity model, but rather generates
a count function directly in the query that it executes, so you should be able to use it with
arbitrary entities.
Returns the single Entity that is the result of this query.
Will return null
if no rows were returned by the DB query.
null
if no match is found.IllegalStateException |
---|
Visits each entity returned by the query.
This is equivalent to calling consumeWith(EntityListConsumer)
and ignoring the return value.
visitor | the visitor to call with each entity that the query returns |
---|