org.elasticsearch.action.deletebyquery
Class ShardDeleteByQueryRequest
java.lang.Object
org.elasticsearch.action.support.replication.ShardReplicationOperationRequest
org.elasticsearch.action.deletebyquery.ShardDeleteByQueryRequest
- All Implemented Interfaces:
- ActionRequest, Streamable
public class ShardDeleteByQueryRequest
- 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, wait, wait, wait |
validate
public ActionRequestValidationException validate()
- Specified by:
validate
in interface ActionRequest
- Overrides:
validate
in class ShardReplicationOperationRequest
shardId
public int shardId()
querySource
public byte[] querySource()
queryParserName
public java.lang.String queryParserName()
types
public java.lang.String[] types()
routing
public java.lang.String routing()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object