Class CartesianCentroidAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.CartesianCentroidAggregate
- All Implemented Interfaces:
AggregateVariant,JsonpSerializable
@JsonpDeserializable
public class CartesianCentroidAggregate
extends AggregateBase
implements AggregateVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CartesianCentroidAggregate>Json deserializer forCartesianCentroidAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregate variant kind.final longcount()Required - API name:countfinal CartesianPointlocation()API name:locationstatic CartesianCentroidAggregaterebuild()protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupCartesianCentroidAggregateDeserializer(ObjectDeserializer<CartesianCentroidAggregate.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 forCartesianCentroidAggregate
-
-
Method Details
-
of
public static CartesianCentroidAggregate of(Function<CartesianCentroidAggregate.Builder, ObjectBuilder<CartesianCentroidAggregate>> 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
-
rebuild
- Returns:
- New
CartesianCentroidAggregate.Builderinitialized with field values of this instance
-
setupCartesianCentroidAggregateDeserializer
protected static void setupCartesianCentroidAggregateDeserializer(ObjectDeserializer<CartesianCentroidAggregate.Builder> op)
-