Module org.elasticsearch.server
Class AggregationProfileShardResult
java.lang.Object
org.elasticsearch.search.profile.aggregation.AggregationProfileShardResult
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentFragment
public final class AggregationProfileShardResult
extends Object
implements Writeable, ToXContentFragment
A container class to hold the profile results for a single shard in the request.
Contains a list of query profiles, a collector tree and a total rewrite tree.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionAggregationProfileShardResult(List<ProfileResult> aggProfileResults) Read from a stream. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
AGGREGATIONS
- See Also:
-
-
Constructor Details
-
AggregationProfileShardResult
-
AggregationProfileShardResult
Read from a stream.- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getProfileResults
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-