Class BulkIndexingSession

  • All Implemented Interfaces:
    Session

    public class BulkIndexingSession
    extends Object
    implements Session
    • Method Detail

      • upsertData

        public void upsertData​(String index,
                               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 id,
                              com.fasterxml.jackson.databind.node.ObjectNode objectNode)
      • indexDataWithExternalVersion

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

        public void registerFullIndex​(String type,
                                      String id)
      • 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)
      • ensureBulkRequestInitialized

        protected void ensureBulkRequestInitialized()
      • flush

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

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