Writeable, ToXContent, ToXContentFragmentpublic final class AggregationProfileShardResult extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
AGGREGATIONS |
EMPTY_PARAMS| Constructor | Description |
|---|---|
AggregationProfileShardResult(java.util.List<ProfileResult> aggProfileResults) |
|
AggregationProfileShardResult(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
static AggregationProfileShardResult |
fromXContent(XContentParser parser) |
|
java.util.List<ProfileResult> |
getProfileResults() |
|
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 AGGREGATIONS
public AggregationProfileShardResult(java.util.List<ProfileResult> aggProfileResults)
public AggregationProfileShardResult(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic java.util.List<ProfileResult> getProfileResults()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic static AggregationProfileShardResult fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException