Class AggregationProfile
- java.lang.Object
-
- org.opensearch.client.opensearch.core.search.AggregationProfile
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AggregationProfile extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggregationProfile.BuilderBuilder forAggregationProfile.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AggregationProfile>_DESERIALIZERJson deserializer forAggregationProfile
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregationBreakdownbreakdown()Required - API name:breakdownjava.util.List<AggregationProfile>children()API name:childrenAggregationProfileDebugdebug()API name:debugjava.lang.Stringdescription()Required - API name:descriptionstatic AggregationProfileof(java.util.function.Function<AggregationProfile.Builder,ObjectBuilder<AggregationProfile>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAggregationProfileDeserializer(ObjectDeserializer<AggregationProfile.Builder> op)longtimeInNanos()Required - API name:time_in_nanosjava.lang.Stringtype()Required - API name:type
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<AggregationProfile> _DESERIALIZER
Json deserializer forAggregationProfile
-
-
Method Detail
-
of
public static AggregationProfile of(java.util.function.Function<AggregationProfile.Builder,ObjectBuilder<AggregationProfile>> fn)
-
breakdown
public final AggregationBreakdown breakdown()
Required - API name:breakdown
-
description
public final java.lang.String description()
Required - API name:description
-
timeInNanos
public final long timeInNanos()
Required - API name:time_in_nanos
-
type
public final java.lang.String type()
Required - API name:type
-
debug
@Nullable public final AggregationProfileDebug debug()
API name:debug
-
children
public final java.util.List<AggregationProfile> children()
API name:children
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupAggregationProfileDeserializer
protected static void setupAggregationProfileDeserializer(ObjectDeserializer<AggregationProfile.Builder> op)
-
-