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 void
addRoutingKey(String routingKey)
SearchQuery<H>
build()
void
failAfter(long timeout, TimeUnit timeUnit)
C
toQueryElementCollector()
void
totalHitCountThreshold(long totalHitCountThreshold)
void
truncateAfter(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()
-
-