Class ParentAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.ParentAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable,UnionVariant
@JsonpDeserializable public final class ParentAggregation extends BucketAggregationBase implements AggregationVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParentAggregation.BuilderBuilder forParentAggregation.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ParentAggregation>_DESERIALIZERJson deserializer forParentAggregation -
Constructor Summary
Constructors Constructor Description ParentAggregation(ParentAggregation.Builder builder)ParentAggregation(java.util.function.Function<ParentAggregation.Builder,ParentAggregation.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.String_variantType()Aggregationvariant typeprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupParentAggregationDeserializer(DelegatingDeserializer<ParentAggregation.Builder> op)java.lang.Stringtype()API name:typeMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
aggregations, setupBucketAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forParentAggregation
-
-
Constructor Details
-
ParentAggregation
-
ParentAggregation
public ParentAggregation(java.util.function.Function<ParentAggregation.Builder,ParentAggregation.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Aggregationvariant type- Specified by:
_variantTypein interfaceUnionVariant
-
type
@Nullable public java.lang.String type()API name:type -
serializeInternal
- Overrides:
serializeInternalin classBucketAggregationBase
-
setupParentAggregationDeserializer
protected static void setupParentAggregationDeserializer(DelegatingDeserializer<ParentAggregation.Builder> op)
-