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 class
GeoCentroidAggregate.Builder
Builder 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>
_DESERIALIZER
Json deserializer forGeoCentroidAggregate
-
Method Summary
Modifier and Type Method Description Aggregate.Kind
_aggregateKind()
Aggregate variant kind.long
count()
Required - API name:count
GeoLocation
location()
API name:location
static GeoCentroidAggregate
of(java.util.function.Function<GeoCentroidAggregate.Builder,ObjectBuilder<GeoCentroidAggregate>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGeoCentroidAggregateDeserializer(ObjectDeserializer<GeoCentroidAggregate.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer
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.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:
_aggregateKind
in interfaceAggregateVariant
-
count
public final long count()Required - API name:count
-
location
API name:location
-
serializeInternal
- Overrides:
serializeInternal
in classAggregateBase
-
setupGeoCentroidAggregateDeserializer
protected static void setupGeoCentroidAggregateDeserializer(ObjectDeserializer<GeoCentroidAggregate.Builder> op)
-