public class JavaScriptPostAggregator extends Object implements PostAggregator
| Constructor and Description |
|---|
JavaScriptPostAggregator(String name,
List<String> fieldNames,
String function,
io.druid.js.JavaScriptConfig config) |
| Modifier and Type | Method and Description |
|---|---|
Object |
compute(Map<String,Object> combinedAggregators) |
JavaScriptPostAggregator |
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<String> |
getFieldNames() |
String |
getFunction() |
String |
getName() |
int |
hashCode() |
public Set<String> getDependentFields()
getDependentFields in interface PostAggregatorpublic Comparator getComparator()
getComparator in interface PostAggregatorpublic Object compute(Map<String,Object> combinedAggregators)
compute in interface PostAggregatorpublic byte[] getCacheKey()
getCacheKey in interface io.druid.java.util.common.Cacheablepublic String getName()
getName in interface PostAggregatorpublic JavaScriptPostAggregator decorate(Map<String,AggregatorFactory> aggregators)
PostAggregatordecorate in interface PostAggregatoraggregators - A map of aggregator factories with their names.public String getFunction()
Copyright © 2011–2017. All rights reserved.