org.elasticsearch.action.get
Class MultiGetResponse

java.lang.Object
  extended by org.elasticsearch.action.get.MultiGetResponse
All Implemented Interfaces:
Iterable<MultiGetItemResponse>, ActionResponse, Streamable, ToXContent

public class MultiGetResponse
extends Object
implements ActionResponse, Iterable<MultiGetItemResponse>, ToXContent


Nested Class Summary
static class MultiGetResponse.Failure
          Represents a failure.
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
MultiGetResponse(MultiGetItemResponse[] responses)
           
 
Method Summary
 Iterator<MultiGetItemResponse> iterator()
           
 void readFrom(StreamInput in)
           
 MultiGetItemResponse[] responses()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiGetResponse

public MultiGetResponse(MultiGetItemResponse[] responses)
Method Detail

responses

public MultiGetItemResponse[] responses()

iterator

public Iterator<MultiGetItemResponse> iterator()
Specified by:
iterator in interface Iterable<MultiGetItemResponse>

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws IOException
Specified by:
toXContent in interface ToXContent
Throws:
IOException

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.