Class GeoDistanceAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase<RangeBucket>
co.elastic.clients.elasticsearch._types.aggregations.RangeAggregate
co.elastic.clients.elasticsearch._types.aggregations.GeoDistanceAggregate
- All Implemented Interfaces:
AggregateVariant
,JsonpSerializable
@JsonpDeserializable
public class GeoDistanceAggregate
extends RangeAggregate
implements AggregateVariant
Result of a
geo_distance
aggregation. The unit for
from
and to
is meters by default.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.RangeAggregate
RangeAggregate.AbstractBuilder<BuilderT extends RangeAggregate.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeoDistanceAggregate>
Json deserializer forGeoDistanceAggregate
-
Method Summary
Modifier and TypeMethodDescriptionAggregate variant kind.static GeoDistanceAggregate
protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.RangeAggregate
rangeAggregateOf, setupRangeAggregateDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase
buckets, serializeInternal, setupMultiBucketAggregateBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoDistanceAggregate
-
-
Method Details
-
of
public static GeoDistanceAggregate of(Function<GeoDistanceAggregate.Builder, ObjectBuilder<GeoDistanceAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKind
in interfaceAggregateVariant
- Overrides:
_aggregateKind
in classRangeAggregate
-
setupGeoDistanceAggregateDeserializer
protected static void setupGeoDistanceAggregateDeserializer(ObjectDeserializer<GeoDistanceAggregate.Builder> op)
-