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 void
afterRequestExecution(BulkRequest bulkRequest, org.elasticsearch.action.bulk.BulkResponse bulkResponse)
void
beforeRequestAddToBulkIndexingSession(java.lang.String index, IndexedDataObject indexedDataObject, com.fasterxml.jackson.databind.node.ObjectNode originalData)
void
beforeRequestExecution(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)
-