Class InternalScrollSearchRequest

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.search.internal.InternalScrollSearchRequest
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest

public class InternalScrollSearchRequest
extends TransportRequest
  • Constructor Details

    • InternalScrollSearchRequest

      public InternalScrollSearchRequest()
    • InternalScrollSearchRequest

      public InternalScrollSearchRequest​(SearchScrollRequest request, ShardSearchContextId contextId)
    • InternalScrollSearchRequest

      public InternalScrollSearchRequest​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class TransportRequest
      Throws:
      java.io.IOException
    • contextId

      public ShardSearchContextId contextId()
    • scroll

      public Scroll scroll()
    • scroll

      public InternalScrollSearchRequest scroll​(Scroll scroll)
    • 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.
    • getDescription

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