Class InstanceShardOperationRequest<Request extends InstanceShardOperationRequest<Request>>

org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.single.instance.InstanceShardOperationRequest<Request>
All Implemented Interfaces:
IndicesRequest, Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest
Direct Known Subclasses:
UpdateRequest

public abstract class InstanceShardOperationRequest<Request extends InstanceShardOperationRequest<Request>> extends ActionRequest implements IndicesRequest
  • Field Details

    • DEFAULT_TIMEOUT

      public static final org.elasticsearch.core.TimeValue DEFAULT_TIMEOUT
    • timeout

      protected org.elasticsearch.core.TimeValue timeout
    • index

      protected  index
    • shardId

      protected ShardId shardId
  • Constructor Details

    • InstanceShardOperationRequest

      protected InstanceShardOperationRequest()
    • InstanceShardOperationRequest

      protected InstanceShardOperationRequest(@Nullable ShardId shardId, StreamInput in) throws
      Throws:
    • InstanceShardOperationRequest

      public InstanceShardOperationRequest( index)
  • Method Details

    • validate

      Specified by:
      validate in class ActionRequest
    • index

      public  index()
    • indices

      public [] 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
    • index

      public final  index)
    • timeout

      public org.elasticsearch.core.TimeValue timeout()
    • timeout

      public final Request timeout(org.elasticsearch.core.TimeValue timeout)
      A timeout to wait if the index operation can't be performed immediately. Defaults to 1m.
    • timeout

      public final  timeout)
      A timeout to wait if the index operation can't be performed immediately. Defaults to 1m.
    • concreteIndex

      public  concreteIndex()
    • 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 ActionRequest
      Throws:
    • writeThin

      public void writeThin(StreamOutput out) throws
      Throws: