public interface ElasticsearchWork<T>
Classes implementing this interface know about the data to be sent (the request), but also about how to handle the response (callbacks, exception throwing).
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(ElasticsearchWorkAggregator aggregator) |
CompletableFuture<T> |
execute(ElasticsearchWorkExecutionContext executionContext) |
LuceneWork |
getLuceneWork() |
CompletableFuture<T> execute(ElasticsearchWorkExecutionContext executionContext)
void aggregate(ElasticsearchWorkAggregator aggregator)
LuceneWork getLuceneWork()
Copyright © 2006–2017 Hibernate. All rights reserved.