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) |
T |
execute(ElasticsearchWorkExecutionContext executionContext) |
Stream<LuceneWork> |
getLuceneWorks() |
T execute(ElasticsearchWorkExecutionContext executionContext)
void aggregate(ElasticsearchWorkAggregator aggregator)
Stream<LuceneWork> getLuceneWorks()
Copyright © 2006–2017 Hibernate. All rights reserved.