public static class InternalRange.Factory<B extends InternalRange.Bucket,R extends InternalRange<B,R>> extends Object
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
R |
create(List<B> ranges,
R prototype) |
R |
create(String name,
List<B> ranges,
ValueFormatter formatter,
boolean keyed,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
B |
createBucket(InternalAggregations aggregations,
B prototype) |
B |
createBucket(String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
boolean keyed,
ValueFormatter formatter) |
String |
type() |
public String type()
public R create(String name, List<B> ranges, ValueFormatter formatter, boolean keyed, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData)
public B createBucket(String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, ValueFormatter formatter)
public B createBucket(InternalAggregations aggregations, B prototype)
Copyright © 2009–2016. All rights reserved.