Interface BulkIndexRequestInterceptor
public interface BulkIndexRequestInterceptor
An interceptor that will be called before and/or after the execution of a
BulkRequest in the BulkIndexingSession.-
Method Summary
Modifier and Type Method Description voidafterRequestExecution(BulkRequest bulkRequest, org.elasticsearch.action.bulk.BulkResponse bulkResponse)voidbeforeRequestAddToBulkIndexingSession(java.lang.String index, IndexedDataObject indexedDataObject, com.fasterxml.jackson.databind.node.ObjectNode originalData)voidbeforeRequestExecution(BulkRequest bulkRequest)
-
Method Details
-
beforeRequestAddToBulkIndexingSession
void beforeRequestAddToBulkIndexingSession(java.lang.String index, IndexedDataObject indexedDataObject, com.fasterxml.jackson.databind.node.ObjectNode originalData) -
beforeRequestExecution
-
afterRequestExecution
void afterRequestExecution(BulkRequest bulkRequest, org.elasticsearch.action.bulk.BulkResponse bulkResponse)
-