Class BulkIndexingSession

java.lang.Object
com.flowable.indexing.job.history.async.BulkIndexingSession
All Implemented Interfaces:
Session

public class BulkIndexingSession extends Object implements Session
  • Field Details

  • Constructor Details

  • Method Details

    • upsertData

      public void upsertData(String index, String type, String id, com.fasterxml.jackson.databind.node.ObjectNode objectNode)
    • upsertDataWithScript

      public void upsertDataWithScript(String index, String id, com.fasterxml.jackson.databind.node.ObjectNode upsertDocNode, com.fasterxml.jackson.databind.node.ObjectNode scriptNode)
    • indexData

      public void indexData(String index, String type, String id, com.fasterxml.jackson.databind.node.ObjectNode objectNode)
    • indexDataWithExternalVersion

      public void indexDataWithExternalVersion(String index, String type, String id, com.fasterxml.jackson.databind.node.ObjectNode objectNode)
    • registerFullIndex

      public void registerFullIndex(String type, String id)
    • registerFullIndexWithExternalVersion

      public void registerFullIndexWithExternalVersion(String type, String id, LowLevelIndexingService.BulkIndexRequestConflictHandler bulkIndexRequestConflictHandler)
    • getConflictHandler

    • isFullIndexRegistered

      public boolean isFullIndexRegistered(String type, String id)
    • retryFailedBulkRequest

      public void retryFailedBulkRequest(com.fasterxml.jackson.databind.node.ObjectNode actionNode, com.fasterxml.jackson.databind.node.ObjectNode sourceNode)
    • executeBulkRequest

      public ElasticsearchBulkResponse executeBulkRequest()
    • ensureBulkRequestInitialized

      protected void ensureBulkRequestInitialized()
    • flush

      public void flush()
      Specified by:
      flush in interface Session
    • close

      public void close()
      Specified by:
      close in interface Session
    • getBulkRequest

      public BulkRequest getBulkRequest()