PercolateQueryBuilder
@Deprecated public class MultiPercolateResponse extends ActionResponse implements java.lang.Iterable<MultiPercolateResponse.Item>, ToXContentObject
Modifier and Type | Class and Description |
---|---|
static class |
MultiPercolateResponse.Item
Deprecated.
Encapsulates a single percolator response which may contain an error or the actual percolator response itself.
|
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
MultiPercolateResponse.Item[] |
getItems()
Deprecated.
|
MultiPercolateResponse.Item[] |
items()
Deprecated.
Same as
getItems() |
java.util.Iterator<MultiPercolateResponse.Item> |
iterator()
Deprecated.
|
void |
readFrom(StreamInput in)
Deprecated.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params)
Deprecated.
|
void |
writeTo(StreamOutput out)
Deprecated.
|
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public java.util.Iterator<MultiPercolateResponse.Item> iterator()
iterator
in interface java.lang.Iterable<MultiPercolateResponse.Item>
public MultiPercolateResponse.Item[] items()
getItems()
public MultiPercolateResponse.Item[] getItems()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class ActionResponse
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class ActionResponse
java.io.IOException