Class AggregationProfile
java.lang.Object
org.opensearch.client.opensearch.core.search.AggregationProfile
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<AggregationProfile.Builder,AggregationProfile>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AggregationProfile
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<AggregationProfile.Builder,AggregationProfile>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AggregationProfile> Json deserializer forAggregationProfile -
Method Summary
Modifier and TypeMethodDescriptionfinal AggregationBreakdownRequired - API name:breakdownstatic AggregationProfile.Builderbuilder()final List<AggregationProfile> children()API name:childrenfinal AggregationProfileDebugdebug()API name:debugfinal StringRequired - API name:descriptionbooleaninthashCode()static AggregationProfilevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - API name:time_in_nanosCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()Required - API name:typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forAggregationProfile
-
-
Method Details
-
of
public static AggregationProfile of(Function<AggregationProfile.Builder, ObjectBuilder<AggregationProfile>> fn) -
breakdown
Required - API name:breakdown -
children
API name:children -
debug
API name:debug -
description
Required - API name:description -
timeInNanos
public final long timeInNanos()Required - API name:time_in_nanos -
type
Required - API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregationProfile.Builder,AggregationProfile> - Returns:
- a new builder instance.
-
builder
-
setupAggregationProfileDeserializer
protected static void setupAggregationProfileDeserializer(ObjectDeserializer<AggregationProfile.Builder> op) -
hashCode
public int hashCode() -
equals
-