Class ParentAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.ParentAggregation
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,AggregationVariant
@JsonpDeserializable public 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 org.opensearch.client.opensearch._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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.static ParentAggregation
of(java.util.function.Function<ParentAggregation.Builder,ObjectBuilder<ParentAggregation>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupParentAggregationDeserializer(ObjectDeserializer<ParentAggregation.Builder> op)
java.lang.String
type()
API name:type
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch._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 org.opensearch.client.opensearch._types.aggregations.AggregationVariant
_toAggregation
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ParentAggregation> _DESERIALIZER
Json deserializer forParentAggregation
-
-
Method Detail
-
of
public static ParentAggregation of(java.util.function.Function<ParentAggregation.Builder,ObjectBuilder<ParentAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
type
@Nullable public final java.lang.String type()
API name:type
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classAggregationBase
-
setupParentAggregationDeserializer
protected static void setupParentAggregationDeserializer(ObjectDeserializer<ParentAggregation.Builder> op)
-
-