Interface SearchQueryBuilder<H,C>
-
- Type Parameters:
H- The type of query resultsC- The type of query element collector
public interface SearchQueryBuilder<H,C>A builder for search queries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddRoutingKey(String routingKey)SearchQuery<H>build()voidfailAfter(long timeout, TimeUnit timeUnit)CtoQueryElementCollector()voidtotalHitCountThreshold(long totalHitCountThreshold)voidtruncateAfter(long timeout, TimeUnit timeUnit)
-
-
-
Method Detail
-
toQueryElementCollector
C toQueryElementCollector()
-
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()
-
-