Class InstanceShardOperationRequest<Request extends InstanceShardOperationRequest<Request>>

    • Field Detail

      • DEFAULT_TIMEOUT

        public static final TimeValue DEFAULT_TIMEOUT
      • index

        protected java.lang.String index
      • shardId

        protected ShardId shardId
    • Constructor Detail

      • InstanceShardOperationRequest

        protected InstanceShardOperationRequest()
      • InstanceShardOperationRequest

        public InstanceShardOperationRequest​(java.lang.String index)
    • Method Detail

      • index

        public java.lang.String index()
      • 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
      • index

        public final Request index​(java.lang.String index)
      • timeout

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

        public final Request timeout​(java.lang.String timeout)
        A timeout to wait if the index operation can't be performed immediately. Defaults to 1m.
      • concreteIndex

        public java.lang.String concreteIndex()