org.elasticsearch.action.deletebyquery
Class DeleteByQueryResponse

java.lang.Object
  extended by org.elasticsearch.action.deletebyquery.DeleteByQueryResponse
All Implemented Interfaces:
java.lang.Iterable<IndexDeleteByQueryResponse>, ActionResponse, Streamable

public class DeleteByQueryResponse
extends java.lang.Object
implements ActionResponse, Streamable, java.lang.Iterable<IndexDeleteByQueryResponse>

The response of delete by query action. Holds the IndexDeleteByQueryResponses from all the different indices.


Method Summary
 java.util.Map<java.lang.String,IndexDeleteByQueryResponse> getIndices()
          The responses from all the different indices.
 IndexDeleteByQueryResponse index(java.lang.String index)
          The response of a specific index.
 java.util.Map<java.lang.String,IndexDeleteByQueryResponse> indices()
          The responses from all the different indices.
 java.util.Iterator<IndexDeleteByQueryResponse> iterator()
           
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

iterator

public java.util.Iterator<IndexDeleteByQueryResponse> iterator()
Specified by:
iterator in interface java.lang.Iterable<IndexDeleteByQueryResponse>

indices

public java.util.Map<java.lang.String,IndexDeleteByQueryResponse> indices()
The responses from all the different indices.


getIndices

public java.util.Map<java.lang.String,IndexDeleteByQueryResponse> getIndices()
The responses from all the different indices.


index

public IndexDeleteByQueryResponse index(java.lang.String index)
The response of a specific index.


readFrom

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

writeTo

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