org.elasticsearch.action.get
Class MultiGetResponse
java.lang.Object
org.elasticsearch.action.get.MultiGetResponse
- All Implemented Interfaces:
- Iterable<MultiGetItemResponse>, ActionResponse, Streamable, ToXContent
public class MultiGetResponse
- extends Object
- implements ActionResponse, Iterable<MultiGetItemResponse>, ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiGetResponse
public MultiGetResponse(MultiGetItemResponse[] responses)
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.