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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
Modifier and Type Method Description R
create(java.lang.String name, java.util.List<B> ranges, DocValueFormat format, boolean keyed, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
R
create(java.util.List<B> ranges, R prototype)
B
createBucket(java.lang.String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, DocValueFormat format)
B
createBucket(InternalAggregations aggregations, B prototype)
ValuesSourceType
getValueSourceType()
ValueType
getValueType()
-
-
-
Method Detail
-
getValueSourceType
public ValuesSourceType getValueSourceType()
-
getValueType
public ValueType getValueType()
-
create
public R create(java.lang.String name, java.util.List<B> ranges, DocValueFormat format, boolean keyed, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
-
createBucket
public B createBucket(java.lang.String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, DocValueFormat format)
-
createBucket
public B createBucket(InternalAggregations aggregations, B prototype)
-
-