Class InternalGeoDistance.Factory
java.lang.Object
org.elasticsearch.search.aggregations.bucket.range.InternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Factory
- Enclosing class:
- InternalGeoDistance
public static class InternalGeoDistance.Factory
extends InternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String name, List<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket> ranges, DocValueFormat format, boolean keyed, Map<String,Object> metadata)
create(List<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket> ranges, InternalGeoDistance prototype)
org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket
createBucket(String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, DocValueFormat format)
org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket
createBucket(InternalAggregations aggregations, org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket prototype)
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getValueSourceType
- Overrides:
getValueSourceType
in classInternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
-
getValueType
- Overrides:
getValueType
in classInternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
-
create
public InternalGeoDistance create(String name, List<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket> ranges, DocValueFormat format, boolean keyed, Map<String,Object> metadata)- Overrides:
create
in classInternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
-
create
public InternalGeoDistance create(List<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket> ranges, InternalGeoDistance prototype)- Overrides:
create
in classInternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
-
createBucket
public org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket createBucket(String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, DocValueFormat format)- Overrides:
createBucket
in classInternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
-
createBucket
public org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket createBucket(InternalAggregations aggregations, org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket prototype)- Overrides:
createBucket
in classInternalRange.Factory<org.elasticsearch.search.aggregations.bucket.range.InternalGeoDistance.Bucket,InternalGeoDistance>
-