com.atlassian.jira.issue.search.SearchRequestAppender<T> |
Known Indirect Subclasses
|
Class Overview
This interface describes operations for appending clauses to existing SearchRequest queries.
Summary
Nested Classes |
interface |
SearchRequestAppender.Factory<T> |
|
Public Methods
public
SearchRequest
appendExclusiveMultiValueClause
(Iterable<? extends T> values, SearchRequest searchRequest)
Append a multi-value clause to the given SearchRequest, specifying that the given values should not be included.
Parameters
values
| The values used to populate the new clause |
searchRequest
| The existing query to be used as the basis for the new query. Will not be modified. |
Returns
- A new SearchRequest containing the modified query, or null if the new clause cannot be added.
public
SearchRequest
appendInclusiveSingleValueClause
(T value, SearchRequest searchRequest)
Append a single AND clause to the given SearchRequest, specifying that the given single value should be
included.
Parameters
value
| The value used to populate the new clause. |
searchRequest
| The existing query to be used as the basis for the new query. Will not be modified. |
Returns
- A new SearchRequest containing the modified query, or null if the new clause cannot be added.