org.elasticsearch.action.delete.index
Class ShardDeleteRequest
java.lang.Object
org.elasticsearch.action.support.replication.ShardReplicationOperationRequest
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.
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 |
validate
public ActionRequestValidationException validate()
- Specified by:
validate
in interface ActionRequest
- Overrides:
validate
in class ShardReplicationOperationRequest
shardId
public int shardId()
type
public String type()
id
public String id()
refresh
public boolean refresh()
version
public void version(long version)
version
public long version()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class ShardReplicationOperationRequest
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Overrides:
writeTo
in class ShardReplicationOperationRequest
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.