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
@JsonpDeserializable public class ParentAggregation extends BucketAggregationBase implements AggregationVariant
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.static ParentAggregationof(java.util.function.Function<ParentAggregation.Builder,ObjectBuilder<ParentAggregation>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupParentAggregationDeserializer(ObjectDeserializer<ParentAggregation.Builder> op)java.lang.Stringtype()API name:typeMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forParentAggregation
-
-
Method Details
-
of
public static ParentAggregation of(java.util.function.Function<ParentAggregation.Builder,ObjectBuilder<ParentAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
type
@Nullable public final java.lang.String type()API name:type -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
setupParentAggregationDeserializer
protected static void setupParentAggregationDeserializer(ObjectDeserializer<ParentAggregation.Builder> op)
-