public class CollectorResult extends Object implements ToXContent, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
REASON_AGGREGATION |
static String |
REASON_AGGREGATION_GLOBAL |
static String |
REASON_SEARCH_COUNT |
static String |
REASON_SEARCH_MIN_SCORE |
static String |
REASON_SEARCH_MULTI |
static String |
REASON_SEARCH_POST_FILTER |
static String |
REASON_SEARCH_TERMINATE_AFTER_COUNT |
static String |
REASON_SEARCH_TIMEOUT |
static String |
REASON_SEARCH_TOP_HITS |
EMPTY_PARAMS| コンストラクタと説明 |
|---|
CollectorResult(StreamInput in) |
CollectorResult(String collectorName,
String reason,
Long time,
List<CollectorResult> children) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getName() |
List<CollectorResult> |
getProfiledChildren() |
String |
getReason() |
long |
getTime() |
Object |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
public static final String REASON_SEARCH_TERMINATE_AFTER_COUNT
public CollectorResult(String collectorName, String reason, Long time, List<CollectorResult> children)
public CollectorResult(StreamInput in) throws IOException
IOExceptionpublic long getTime()
public String getReason()
public String getName()
public List<CollectorResult> getProfiledChildren()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void writeTo(StreamOutput out) throws IOException
WriteablewriteTo インタフェース内 WriteableIOExceptionpublic Object readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom インタフェース内 StreamableReaderIOExceptionCopyright © 2009–2016. All rights reserved.