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
 IndexDeleteByQueryRequest queryParserName(java.lang.String queryParserName)
           
 IndexDeleteByQueryRequest querySource(byte[] querySource)
           
 IndexDeleteByQueryRequest querySource(QueryBuilder queryBuilder)
           
 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

querySource

@Required
public IndexDeleteByQueryRequest querySource(QueryBuilder queryBuilder)

querySource

@Required
public IndexDeleteByQueryRequest querySource(byte[] querySource)

queryParserName

public IndexDeleteByQueryRequest queryParserName(java.lang.String queryParserName)

timeout

public IndexDeleteByQueryRequest timeout(TimeValue timeout)

readFrom

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

writeTo

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