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 class
ParentAggregation.Builder
Builder 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>
_DESERIALIZER
Json 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()
Aggregation
variant typeprotected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupParentAggregationDeserializer(DelegatingDeserializer<ParentAggregation.Builder> op)
java.lang.String
type()
API name:type
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
aggregations, setupBucketAggregationBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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()Aggregation
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
type
@Nullable public java.lang.String type()API name:type
-
serializeInternal
- Overrides:
serializeInternal
in classBucketAggregationBase
-
setupParentAggregationDeserializer
protected static void setupParentAggregationDeserializer(DelegatingDeserializer<ParentAggregation.Builder> op)
-