Interface LowLevelIndexingService.BulkIndexRequestConflictHandler

  • All Known Implementing Classes:
    DefaultBulkIndexRequestConflictHandler
    Enclosing interface:
    LowLevelIndexingService

    public static interface LowLevelIndexingService.BulkIndexRequestConflictHandler
    Used in conjunction with #addToCurrentBulkRequestAsFullIndexWithExternalVersion to define the logic for creating the data for a new history job when a version conflict happens.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.commons.lang3.tuple.Pair<String,​com.fasterxml.jackson.databind.node.ObjectNode> createRetryHistoryJobData​(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.node.ObjectNode originalBulkIndexSourceNode)
      Returns the async history job type (typically the same as the corresponding transformer) and the new data to be added to a history job when a conflict happens.
    • Method Detail

      • createRetryHistoryJobData

        org.apache.commons.lang3.tuple.Pair<String,​com.fasterxml.jackson.databind.node.ObjectNode> createRetryHistoryJobData​(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                                                                                                                   com.fasterxml.jackson.databind.node.ObjectNode originalBulkIndexSourceNode)
        Returns the async history job type (typically the same as the corresponding transformer) and the new data to be added to a history job when a conflict happens.