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