public class SearchRequestAddendumBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SearchRequestAddendumBuilder.AddendumCallback<T> |
Constructor and Description |
---|
SearchRequestAddendumBuilder() |
Modifier and Type | Method and Description |
---|---|
static <T> SearchRequest |
appendAndClause(T value,
SearchRequest searchRequest,
SearchRequestAddendumBuilder.AddendumCallback<T> addendumCallback)
Clones the query within the supplied SearchRequest and appends an AND clause to it, delegating to the supplied
callback to provide the clause specifics.
|
static <T> SearchRequest |
appendAndNotClauses(Iterable<? extends T> values,
SearchRequest searchRequest,
SearchRequestAddendumBuilder.AddendumCallback<T> addendumCallback)
Clones the query within the supplied SearchRequest and appends an AND NOT clause to it, delegating to the
supplied callback to provide the clause specifics.
|
public static <T> SearchRequest appendAndClause(T value, SearchRequest searchRequest, SearchRequestAddendumBuilder.AddendumCallback<T> addendumCallback)
T
- The value typevalue
- The value to be added to the AND clausesearchRequest
- A SearchRequest containing the original query to be cloned and appended toaddendumCallback
- Provides the delegate methods for adding the clausespublic static <T> SearchRequest appendAndNotClauses(Iterable<? extends T> values, SearchRequest searchRequest, SearchRequestAddendumBuilder.AddendumCallback<T> addendumCallback)
T
- The value typevalues
- The values to be added to the AND NOT clausesearchRequest
- A SearchRequest containing the original query to be cloned and appended toaddendumCallback
- Provides the delegate methods for adding the clausesCopyright © 2002-2019 Atlassian. All Rights Reserved.