Class ChildrenAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregationBase
org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
org.opensearch.client.opensearch._types.aggregations.ChildrenAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<ChildrenAggregation.Builder,ChildrenAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ChildrenAggregation
extends BucketAggregationBase
implements AggregationVariant, ToCopyableBuilder<ChildrenAggregation.Builder,ChildrenAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ChildrenAggregation> Json deserializer forChildrenAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.static ChildrenAggregation.Builderbuilder()booleaninthashCode()static ChildrenAggregationprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()API name:typeMethods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forChildrenAggregation
-
-
Method Details
-
of
public static ChildrenAggregation of(Function<ChildrenAggregation.Builder, ObjectBuilder<ChildrenAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
type
API name:type -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ChildrenAggregation.Builder,ChildrenAggregation> - Returns:
- a new builder instance.
-
builder
-
setupChildrenAggregationDeserializer
protected static void setupChildrenAggregationDeserializer(ObjectDeserializer<ChildrenAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classBucketAggregationBase
-
equals
- Overrides:
equalsin classBucketAggregationBase
-