Class IndicesSegmentsRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, org.elasticsearch.core.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
      Throws:
    • IndicesSegmentsRequest

      public IndicesSegmentsRequest(... 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
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class BroadcastRequest<IndicesSegmentsRequest>
      Throws:
    • createTask

      public Task createTask(long id,  type,  action, TaskId parentTaskId, <,​> headers)
      Description copied from interface: TaskAwareRequest
      Returns the task object that should be used to keep track of the processing of the request.