public static class InternalRange.Factory<B extends InternalRange.Bucket,R extends InternalRange<B,R>>
extends java.lang.Object
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
R |
create(java.util.List<B> ranges,
R prototype) |
R |
create(java.lang.String name,
java.util.List<B> ranges,
DocValueFormat formatter,
boolean keyed,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
B |
createBucket(InternalAggregations aggregations,
B prototype) |
B |
createBucket(java.lang.String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
boolean keyed,
DocValueFormat formatter) |
ValuesSourceType |
getValueSourceType() |
ValueType |
getValueType() |
public ValuesSourceType getValueSourceType()
public ValueType getValueType()
public R create(java.lang.String name, java.util.List<B> ranges, DocValueFormat formatter, boolean keyed, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
public B createBucket(java.lang.String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, DocValueFormat formatter)
public B createBucket(InternalAggregations aggregations, B prototype)