Interface BulkableWork<T>
- All Superinterfaces:
ElasticsearchWork
- All Known Subinterfaces:
IndexingWork<T>,SingleDocumentIndexingWork
- All Known Implementing Classes:
AbstractSingleDocumentIndexingWork,DeleteWork,IndexWork
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObjectcom.google.gson.JsonObjecthandleBulkResult(ElasticsearchWorkExecutionContext context, com.google.gson.JsonObject resultItem)
-
Method Details
-
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
-