public class DoublesSketchToQuantilesPostAggregator extends Object implements PostAggregator
Constructor and Description |
---|
DoublesSketchToQuantilesPostAggregator(String name,
PostAggregator field,
double[] fractions) |
Modifier and Type | Method and Description |
---|---|
Object |
compute(Map<String,Object> combinedAggregators) |
PostAggregator |
decorate(Map<String,AggregatorFactory> map)
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()
Get a byte array used as a cache key.
|
Comparator<double[]> |
getComparator() |
Set<String> |
getDependentFields() |
PostAggregator |
getField() |
double[] |
getFractions() |
String |
getName() |
int |
hashCode() |
String |
toString() |
public DoublesSketchToQuantilesPostAggregator(String name, PostAggregator field, double[] fractions)
public String getName()
getName
in interface PostAggregator
public PostAggregator getField()
public double[] getFractions()
public Object compute(Map<String,Object> combinedAggregators)
compute
in interface PostAggregator
public Comparator<double[]> getComparator()
getComparator
in interface PostAggregator
public Set<String> getDependentFields()
getDependentFields
in interface PostAggregator
public byte[] getCacheKey()
Cacheable
getCacheKey
in interface Cacheable
public PostAggregator decorate(Map<String,AggregatorFactory> map)
PostAggregator
decorate
in interface PostAggregator
map
- A map of aggregator factories with their names.Copyright © 2011–2018. All rights reserved.