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