Interface SearchQueryBuilder<H>
-
- Type Parameters:
H- The type of query results
public interface SearchQueryBuilder<H>A builder for search queries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddRoutingKey(String routingKey)<A> voidaggregation(AggregationKey<A> key, SearchAggregation<A> aggregation)SearchQuery<H>build()voidfailAfter(long timeout, TimeUnit timeUnit)voidpredicate(SearchPredicate predicate)voidsort(SearchSort sort)voidtotalHitCountThreshold(long totalHitCountThreshold)voidtruncateAfter(long timeout, TimeUnit timeUnit)
-
-
-
Method Detail
-
predicate
void predicate(SearchPredicate predicate)
-
sort
void sort(SearchSort sort)
-
aggregation
<A> void aggregation(AggregationKey<A> key, SearchAggregation<A> aggregation)
-
addRoutingKey
void addRoutingKey(String routingKey)
-
truncateAfter
void truncateAfter(long timeout, TimeUnit timeUnit)
-
failAfter
void failAfter(long timeout, TimeUnit timeUnit)
-
totalHitCountThreshold
void totalHitCountThreshold(long totalHitCountThreshold)
-
build
SearchQuery<H> build()
-
-