Class BroadcastShardRequest

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.support.broadcast.BroadcastShardRequest
All Implemented Interfaces:
IndicesRequest, Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest
Direct Known Subclasses:
ShardUpgradeRequest, ShardValidateQueryRequest

public abstract class BroadcastShardRequest
extends TransportRequest
implements IndicesRequest
  • Field Details

  • Constructor Details

    • BroadcastShardRequest

      protected BroadcastShardRequest()
    • BroadcastShardRequest

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

      protected BroadcastShardRequest​(ShardId shardId, BroadcastRequest<? extends BroadcastRequest<?>> request)
    • BroadcastShardRequest

      protected BroadcastShardRequest​(ShardId shardId, OriginalIndices originalIndices)
  • Method Details

    • shardId

      public ShardId shardId()
    • indices

      public java.lang.String[] indices()
      Description copied from interface: IndicesRequest
      Returns the array of indices that the action relates to
      Specified by:
      indices in interface IndicesRequest
    • indicesOptions

      public IndicesOptions indicesOptions()
      Description copied from interface: IndicesRequest
      Returns the indices options used to resolve indices. They tell for instance whether a single index is accepted, whether an empty array will be converted to _all, and how wildcards will be expanded if needed.
      Specified by:
      indicesOptions in interface IndicesRequest
    • 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