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
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalDateRange
create(java.lang.String name, java.util.List<InternalDateRange.Bucket> ranges, DocValueFormat formatter, boolean keyed, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
InternalDateRange
create(java.util.List<InternalDateRange.Bucket> ranges, InternalDateRange prototype)
InternalDateRange.Bucket
createBucket(java.lang.String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, DocValueFormat formatter)
InternalDateRange.Bucket
createBucket(InternalAggregations aggregations, InternalDateRange.Bucket prototype)
ValueType
getValueType()
-
Methods inherited from class org.elasticsearch.search.aggregations.bucket.range.InternalRange.Factory
getValueSourceType
-
-
-
-
Method Detail
-
getValueType
public ValueType getValueType()
- Overrides:
getValueType
in classInternalRange.Factory<InternalDateRange.Bucket,InternalDateRange>
-
create
public InternalDateRange create(java.lang.String name, java.util.List<InternalDateRange.Bucket> ranges, DocValueFormat formatter, boolean keyed, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
- Overrides:
create
in classInternalRange.Factory<InternalDateRange.Bucket,InternalDateRange>
-
create
public InternalDateRange create(java.util.List<InternalDateRange.Bucket> ranges, InternalDateRange prototype)
- Overrides:
create
in classInternalRange.Factory<InternalDateRange.Bucket,InternalDateRange>
-
createBucket
public InternalDateRange.Bucket createBucket(java.lang.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>
-
-