public class MaxPostAggregator extends ApproximateHistogramPostAggregator
fieldName, name
Constructor and Description |
---|
MaxPostAggregator(String name,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
Object |
compute(Map<String,Object> values) |
PostAggregator |
decorate(Map<String,AggregatorFactory> aggregators)
Returns a richer post aggregator which are built from the given aggregators with their names and some accessible
environmental variables such as ones in the object scope.
|
byte[] |
getCacheKey()
Get a byte array used as a cache key.
|
Comparator |
getComparator() |
Set<String> |
getDependentFields() |
String |
toString() |
getFieldName, getName
public Comparator getComparator()
getComparator
in interface PostAggregator
getComparator
in class ApproximateHistogramPostAggregator
public Object compute(Map<String,Object> values)
compute
in interface PostAggregator
compute
in class ApproximateHistogramPostAggregator
public PostAggregator decorate(Map<String,AggregatorFactory> aggregators)
PostAggregator
aggregators
- A map of aggregator factories with their names.public String toString()
toString
in class ApproximateHistogramPostAggregator
public byte[] getCacheKey()
Cacheable
Copyright © 2011–2018. All rights reserved.