public class LongLeastPostAggregator extends Object implements PostAggregator
| Constructor and Description |
|---|
LongLeastPostAggregator(String name,
List<PostAggregator> fields) |
| Modifier and Type | Method and Description |
|---|---|
Object |
compute(Map<String,Object> values) |
LongLeastPostAggregator |
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.
|
boolean |
equals(Object o) |
byte[] |
getCacheKey() |
Comparator |
getComparator() |
Set<String> |
getDependentFields() |
List<PostAggregator> |
getFields() |
String |
getName() |
int |
hashCode() |
String |
toString() |
public LongLeastPostAggregator(String name, List<PostAggregator> fields)
public Set<String> getDependentFields()
getDependentFields in interface PostAggregatorpublic Comparator getComparator()
getComparator in interface PostAggregatorpublic Object compute(Map<String,Object> values)
compute in interface PostAggregatorpublic String getName()
getName in interface PostAggregatorpublic LongLeastPostAggregator decorate(Map<String,AggregatorFactory> aggregators)
PostAggregatordecorate in interface PostAggregatoraggregators - A map of aggregator factories with their names.public List<PostAggregator> getFields()
public byte[] getCacheKey()
getCacheKey in interface CacheableCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.