public class InternalGeoDistance extends InternalRange<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket> implements GeoDistance
InternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.Type
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Factory |
FACTORY |
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
name
EMPTY_PARAMS
Constructor and Description |
---|
InternalGeoDistance(String name,
List<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket> ranges,
ValueFormatter formatter,
boolean keyed) |
Modifier and Type | Method and Description |
---|---|
protected InternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket,?> |
getFactory() |
static void |
registerStream() |
InternalAggregation.Type |
type() |
doXContentBody, getBucketByKey, getBuckets, readFrom, reduce, writeTo
getName, readSize, toXContent, writeSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBucketByKey, getBuckets
getName
public static final InternalAggregation.Type TYPE
public static final AggregationStreams.Stream STREAM
public static final org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Factory FACTORY
public InternalGeoDistance(String name, List<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket> ranges, @Nullable ValueFormatter formatter, boolean keyed)
public static void registerStream()
public InternalAggregation.Type type()
type
in class InternalRange<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket>
InternalAggregation.Type
of this aggregationprotected InternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket,?> getFactory()
getFactory
in class InternalRange<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket>
Copyright © 2009–2015. All rights reserved.