public static class InternalHistogram.Factory<B extends InternalHistogram.Bucket> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Factory() |
Modifier and Type | Method and Description |
---|---|
InternalHistogram<B> |
create(List<B> buckets,
InternalHistogram<B> prototype) |
InternalHistogram<B> |
create(String name,
List<B> buckets,
org.elasticsearch.search.aggregations.bucket.histogram.InternalOrder order,
long minDocCount,
org.elasticsearch.search.aggregations.bucket.histogram.InternalHistogram.EmptyBucketInfo emptyBucketInfo,
ValueFormatter formatter,
boolean keyed,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
B |
createBucket(InternalAggregations aggregations,
B prototype) |
B |
createBucket(Object key,
long docCount,
InternalAggregations aggregations,
boolean keyed,
ValueFormatter formatter) |
protected B |
createEmptyBucket(boolean keyed,
ValueFormatter formatter) |
String |
type() |
public String type()
public InternalHistogram<B> create(String name, List<B> buckets, org.elasticsearch.search.aggregations.bucket.histogram.InternalOrder order, long minDocCount, org.elasticsearch.search.aggregations.bucket.histogram.InternalHistogram.EmptyBucketInfo emptyBucketInfo, ValueFormatter formatter, boolean keyed, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData)
public InternalHistogram<B> create(List<B> buckets, InternalHistogram<B> prototype)
public B createBucket(InternalAggregations aggregations, B prototype)
public B createBucket(Object key, long docCount, InternalAggregations aggregations, boolean keyed, ValueFormatter formatter)
protected B createEmptyBucket(boolean keyed, ValueFormatter formatter)
Copyright © 2009–2016. All rights reserved.