public class PercolateResponse extends BroadcastResponse implements Iterable<PercolateResponse.Match>, ToXContent
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
PercolateResponse.Match
Represents a query that has matched with the document that was percolated.
|
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static PercolateResponse.Match[] |
EMPTY |
headersEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
InternalAggregations |
getAggregations() |
long |
getCount() |
PercolateResponse.Match[] |
getMatches() |
TimeValue |
getTook()
How long the percolate took.
|
long |
getTookInMillis()
How long the percolate took in milliseconds.
|
Iterator<PercolateResponse.Match> |
iterator() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShardsremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final PercolateResponse.Match[] EMPTY
public TimeValue getTook()
public long getTookInMillis()
public PercolateResponse.Match[] getMatches()
null if th.public long getCount()
public InternalAggregations getAggregations()
null.public Iterator<PercolateResponse.Match> iterator()
iterator インタフェース内 Iterable<PercolateResponse.Match>public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 BroadcastResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 BroadcastResponseIOExceptionCopyright © 2009–2016. All rights reserved.