Class GeoCentroidAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.GeoCentroidAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class GeoCentroidAggregation
extends MetricAggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
MetricAggregationBase.AbstractBuilder<BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeoCentroidAggregation>Json deserializer forGeoCentroidAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final Longcount()API name:countfinal GeoLocationlocation()API name:locationstatic GeoCentroidAggregationprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializer, 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 forGeoCentroidAggregation
-
-
Method Details
-
of
public static GeoCentroidAggregation of(Function<GeoCentroidAggregation.Builder, ObjectBuilder<GeoCentroidAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
count
API name:count -
location
API name:location -
serializeInternal
- Overrides:
serializeInternalin classMetricAggregationBase
-
setupGeoCentroidAggregationDeserializer
protected static void setupGeoCentroidAggregationDeserializer(ObjectDeserializer<GeoCentroidAggregation.Builder> op)
-