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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoDistanceAggregate.Builder
Builder forGeoDistanceAggregate
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.RangeAggregate
RangeAggregate.AbstractBuilder<BuilderT extends RangeAggregate.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoDistanceAggregate>
_DESERIALIZER
Json deserializer forGeoDistanceAggregate
-
Method Summary
Modifier and Type Method Description Aggregate.Kind
_aggregateKind()
Aggregate variant kind.static GeoDistanceAggregate
of(java.util.function.Function<GeoDistanceAggregate.Builder,ObjectBuilder<GeoDistanceAggregate>> fn)
protected static void
setupGeoDistanceAggregateDeserializer(ObjectDeserializer<GeoDistanceAggregate.Builder> op)
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
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 forGeoDistanceAggregate
-
-
Method Details
-
of
public static GeoDistanceAggregate of(java.util.function.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)
-