org.elasticsearch.action.delete.index
Class ShardDeleteRequest

java.lang.Object
  extended by org.elasticsearch.action.support.replication.ShardReplicationOperationRequest
      extended by org.elasticsearch.action.delete.index.ShardDeleteRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class ShardDeleteRequest
extends ShardReplicationOperationRequest

Delete by query request to execute on a specific shard.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.replication.ShardReplicationOperationRequest
DEFAULT_TIMEOUT, index, timeout
 
Method Summary
 java.lang.String id()
           
 void readFrom(StreamInput in)
           
 boolean refresh()
           
 int shardId()
           
 java.lang.String type()
           
 ActionRequestValidationException validate()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.replication.ShardReplicationOperationRequest
beforeLocalFork, consistencyLevel, consistencyLevel, index, index, listenerThreaded, listenerThreaded, operationThreaded, operationThreaded, replicationType, replicationType, timeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

validate

public ActionRequestValidationException validate()
Specified by:
validate in interface ActionRequest
Overrides:
validate in class ShardReplicationOperationRequest

shardId

public int shardId()

type

public java.lang.String type()

id

public java.lang.String id()

refresh

public boolean refresh()

readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class ShardReplicationOperationRequest
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class ShardReplicationOperationRequest
Throws:
java.io.IOException