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