|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchRequestAppender<T>
This interface describes operations for appending clauses to existing SearchRequest queries.
Nested Class Summary | |
---|---|
static interface |
SearchRequestAppender.Factory<T>
|
Method Summary | |
---|---|
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. |
SearchRequest |
appendInclusiveSingleValueClause(T value,
SearchRequest searchRequest)
Append a single AND clause to the given SearchRequest, specifying that the given single value should be included. |
Method Detail |
---|
SearchRequest appendInclusiveSingleValueClause(T value, SearchRequest searchRequest)
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.
SearchRequest appendExclusiveMultiValueClause(Iterable<? extends T> values, SearchRequest searchRequest)
values
- The values used to populate the new clausesearchRequest
- The existing query to be used as the basis for the new query. Will not be modified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |