org.elasticsearch.action.deletebyquery
Class IndexDeleteByQueryRequest
java.lang.Object
org.elasticsearch.action.support.replication.IndexReplicationOperationRequest
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.
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 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