Class IndicesSegmentsRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest

public class IndicesSegmentsRequest
extends BroadcastRequest<IndicesSegmentsRequest>
  • Field Details

    • verbose

      protected boolean verbose
  • Constructor Details

    • IndicesSegmentsRequest

      public IndicesSegmentsRequest()
    • IndicesSegmentsRequest

      public IndicesSegmentsRequest​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • IndicesSegmentsRequest

      public IndicesSegmentsRequest​(java.lang.String... indices)
  • Method Details

    • verbose

      public boolean verbose()
      true if detailed information about each segment should be returned, false otherwise.
    • verbose

      public void verbose​(boolean v)
      Sets the verbose option.
      See Also:
      verbose()
    • 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 BroadcastRequest<IndicesSegmentsRequest>
      Throws:
      java.io.IOException
    • 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.