public class CustomBucketsPostAggregator extends ApproximateHistogramPostAggregator
name| Constructor and Description |
|---|
CustomBucketsPostAggregator(String name,
String fieldName,
float[] breaks) |
| Modifier and Type | Method and Description |
|---|---|
Object |
compute(Map<String,Object> values) |
PostAggregator |
decorate(Map<String,AggregatorFactory> aggregators) |
float[] |
getBreaks() |
byte[] |
getCacheKey() |
Set<String> |
getDependentFields() |
String |
toString() |
getComparator, getFieldName, getNamepublic Object compute(Map<String,Object> values)
compute in interface PostAggregatorcompute in class ApproximateHistogramPostAggregatorpublic PostAggregator decorate(Map<String,AggregatorFactory> aggregators)
public float[] getBreaks()
public String toString()
toString in class ApproximateHistogramPostAggregatorpublic byte[] getCacheKey()
Copyright © 2011–2018. All rights reserved.