Class AggregationProfile
java.lang.Object
co.elastic.clients.elasticsearch._core.search.AggregationProfile
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AggregationProfile extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregationProfile.Builder
Builder forAggregationProfile
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AggregationProfile>
_DESERIALIZER
Json deserializer forAggregationProfile
-
Constructor Summary
Constructors Constructor Description AggregationProfile(AggregationProfile.Builder builder)
AggregationProfile(java.util.function.Function<AggregationProfile.Builder,AggregationProfile.Builder> fn)
-
Method Summary
Modifier and Type Method Description AggregationBreakdown
breakdown()
Required - API name:breakdown
java.util.List<AggregationProfileDebug>
children()
API name:children
AggregationProfileDebug
debug()
API name:debug
java.lang.String
description()
Required - API name:description
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAggregationProfileDeserializer(DelegatingDeserializer<AggregationProfile.Builder> op)
long
timeInNanos()
Required - API name:time_in_nanos
java.lang.String
type()
Required - API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAggregationProfile
-
-
Constructor Details
-
AggregationProfile
-
AggregationProfile
public AggregationProfile(java.util.function.Function<AggregationProfile.Builder,AggregationProfile.Builder> fn)
-
-
Method Details
-
breakdown
Required - API name:breakdown
-
description
public java.lang.String description()Required - API name:description
-
timeInNanos
public long timeInNanos()Required - API name:time_in_nanos
-
type
public java.lang.String type()Required - API name:type
-
debug
API name:debug
-
children
API name:children
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAggregationProfileDeserializer
protected static void setupAggregationProfileDeserializer(DelegatingDeserializer<AggregationProfile.Builder> op)
-