org.elasticsearch.action.deletebyquery
Class IndexDeleteByQueryRequest

java.lang.Object
  extended by org.elasticsearch.action.support.replication.IndexReplicationOperationRequest
      extended by org.elasticsearch.action.deletebyquery.IndexDeleteByQueryRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class IndexDeleteByQueryRequest
extends IndexReplicationOperationRequest

Delete by query request to execute on a specific index.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.replication.IndexReplicationOperationRequest
consistencyLevel, index, replicationType, timeout
 
Method Summary
 void readFrom(StreamInput in)
           
 IndexDeleteByQueryRequest timeout(TimeValue timeout)
           
 ActionRequestValidationException validate()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.replication.IndexReplicationOperationRequest
consistencyLevel, index, index, listenerThreaded, listenerThreaded, 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 IndexReplicationOperationRequest

timeout

public IndexDeleteByQueryRequest timeout(TimeValue timeout)

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class IndexReplicationOperationRequest
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class IndexReplicationOperationRequest
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.