Class GeoCentroidAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.GeoCentroidAggregate
- All Implemented Interfaces:
AggregateVariant,JsonpSerializable
@JsonpDeserializable public class GeoCentroidAggregate extends AggregateBase implements AggregateVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoCentroidAggregate.BuilderBuilder forGeoCentroidAggregate.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoCentroidAggregate>_DESERIALIZERJson deserializer forGeoCentroidAggregate -
Method Summary
Modifier and Type Method Description Aggregate.Kind_aggregateKind()Aggregate variant kind.longcount()Required - API name:countGeoLocationlocation()API name:locationstatic GeoCentroidAggregateof(java.util.function.Function<GeoCentroidAggregate.Builder,ObjectBuilder<GeoCentroidAggregate>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGeoCentroidAggregateDeserializer(ObjectDeserializer<GeoCentroidAggregate.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, 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.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoCentroidAggregate
-
-
Method Details
-
of
public static GeoCentroidAggregate of(java.util.function.Function<GeoCentroidAggregate.Builder,ObjectBuilder<GeoCentroidAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
count
public final long count()Required - API name:count -
location
API name:location -
serializeInternal
- Overrides:
serializeInternalin classAggregateBase
-
setupGeoCentroidAggregateDeserializer
protected static void setupGeoCentroidAggregateDeserializer(ObjectDeserializer<GeoCentroidAggregate.Builder> op)
-