Interface BulkableWork<T>
-
- All Superinterfaces:
ElasticsearchWork
- All Known Subinterfaces:
IndexingWork<T>,SingleDocumentIndexingWork
- All Known Implementing Classes:
AbstractSingleDocumentIndexingWork,DeleteWork,IndexWork
public interface BulkableWork<T> extends ElasticsearchWork
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.gson.JsonObjectgetBulkableActionBody()com.google.gson.JsonObjectgetBulkableActionMetadata()DocumentRefreshStrategygetRefreshStrategy()ThandleBulkResult(ElasticsearchWorkExecutionContext context, com.google.gson.JsonObject resultItem)
-
-
-
Method Detail
-
getRefreshStrategy
DocumentRefreshStrategy getRefreshStrategy()
-
getBulkableActionMetadata
com.google.gson.JsonObject getBulkableActionMetadata()
-
getBulkableActionBody
com.google.gson.JsonObject getBulkableActionBody()
-
handleBulkResult
T handleBulkResult(ElasticsearchWorkExecutionContext context, com.google.gson.JsonObject resultItem)
- Parameters:
context- The execution contextresultItem- A future eventually returning the part of the bulk JSON result relevant to this work- Returns:
- the result of this work
-
-