Writeable, ToXContent, ToXContentObjectpublic class CollectorResult extends java.lang.Object implements ToXContentObject, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
REASON_AGGREGATION |
|
static java.lang.String |
REASON_AGGREGATION_GLOBAL |
|
static java.lang.String |
REASON_SEARCH_CANCELLED |
|
static java.lang.String |
REASON_SEARCH_COUNT |
|
static java.lang.String |
REASON_SEARCH_MIN_SCORE |
|
static java.lang.String |
REASON_SEARCH_MULTI |
|
static java.lang.String |
REASON_SEARCH_POST_FILTER |
|
static java.lang.String |
REASON_SEARCH_TERMINATE_AFTER_COUNT |
|
static java.lang.String |
REASON_SEARCH_TIMEOUT |
|
static java.lang.String |
REASON_SEARCH_TOP_HITS |
EMPTY_PARAMS| Constructor | Description |
|---|---|
CollectorResult(java.lang.String collectorName,
java.lang.String reason,
java.lang.Long time,
java.util.List<CollectorResult> children) |
|
CollectorResult(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CollectorResult |
fromXContent(XContentParser parser) |
|
java.lang.String |
getName() |
|
java.util.List<CollectorResult> |
getProfiledChildren() |
|
java.lang.String |
getReason() |
|
long |
getTime() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final java.lang.String REASON_SEARCH_COUNT
public static final java.lang.String REASON_SEARCH_TOP_HITS
public static final java.lang.String REASON_SEARCH_TERMINATE_AFTER_COUNT
public static final java.lang.String REASON_SEARCH_POST_FILTER
public static final java.lang.String REASON_SEARCH_MIN_SCORE
public static final java.lang.String REASON_SEARCH_MULTI
public static final java.lang.String REASON_SEARCH_TIMEOUT
public static final java.lang.String REASON_SEARCH_CANCELLED
public static final java.lang.String REASON_AGGREGATION
public static final java.lang.String REASON_AGGREGATION_GLOBAL
public CollectorResult(java.lang.String collectorName,
java.lang.String reason,
java.lang.Long time,
java.util.List<CollectorResult> children)
public CollectorResult(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic long getTime()
public java.lang.String getReason()
public java.lang.String getName()
public java.util.List<CollectorResult> getProfiledChildren()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic static CollectorResult fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException