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