Class ShardFetchRequest

    • Constructor Detail

      • ShardFetchRequest

        public ShardFetchRequest()
      • ShardFetchRequest

        public ShardFetchRequest​(long id,
                                 com.carrotsearch.hppc.IntArrayList list,
    • Method Detail

      • id

        public long id()
      • docIds

        public int[] docIds()
      • docIdsSize

        public int docIdsSize()
      • lastEmittedDoc

        public lastEmittedDoc()
      • createTask

        public Task createTask​(long id,
                               java.lang.String type,
                               java.lang.String action,
                               TaskId parentTaskId,
                               java.util.Map<java.lang.String,​java.lang.String> headers)
        Description copied from interface: TaskAwareRequest
        Returns the task object that should be used to keep track of the processing of the request. A request can override this method and return null to avoid being tracked by the task manager.
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: TaskAwareRequest
        Returns optional description of the request to be displayed by the task manager