java.lang.Iterable<MultiSearchTemplateResponse.Item>, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObjectpublic class MultiSearchTemplateResponse extends org.elasticsearch.action.ActionResponse implements java.lang.Iterable<MultiSearchTemplateResponse.Item>, org.elasticsearch.common.xcontent.ToXContentObject
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MultiSearchTemplateResponse.Item |
A search template response item, holding the actual search template response, or an error message if it failed.
|
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params| Constructor | Description |
|---|---|
MultiSearchTemplateResponse(MultiSearchTemplateResponse.Item[] items) |
| Modifier and Type | Method | Description |
|---|---|---|
MultiSearchTemplateResponse.Item[] |
getResponses() |
The list of responses, the order is the same as the one provided in the request.
|
java.util.Iterator<MultiSearchTemplateResponse.Item> |
iterator() |
|
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
|
java.lang.String |
toString() |
|
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
|
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public MultiSearchTemplateResponse(MultiSearchTemplateResponse.Item[] items)
public java.util.Iterator<MultiSearchTemplateResponse.Item> iterator()
iterator in interface java.lang.Iterable<MultiSearchTemplateResponse.Item>public MultiSearchTemplateResponse.Item[] getResponses()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws java.io.IOException
readFrom in class org.elasticsearch.action.ActionResponsejava.io.IOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws java.io.IOException
writeTo in class org.elasticsearch.action.ActionResponsejava.io.IOExceptionpublic org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws java.io.IOException
toXContent in interface org.elasticsearch.common.xcontent.ToXContentjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object