org.elasticsearch.action.deletebyquery
Class DeleteByQueryResponse

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

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

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


Method Summary
 Map<String,IndexDeleteByQueryResponse> getIndices()
          The responses from all the different indices.
 IndexDeleteByQueryResponse index(String index)
          The response of a specific index.
 Map<String,IndexDeleteByQueryResponse> indices()
          The responses from all the different indices.
 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 Iterator<IndexDeleteByQueryResponse> iterator()
Specified by:
iterator in interface Iterable<IndexDeleteByQueryResponse>

indices

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


getIndices

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


index

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


readFrom

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

writeTo

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


Copyright © 2009-2012. All Rights Reserved.