public class SketchSetPostAggregator extends Object implements PostAggregator
Constructor and Description |
---|
SketchSetPostAggregator(String name,
String func,
Integer maxSize,
List<PostAggregator> fields) |
Modifier and Type | Method and Description |
---|---|
Object |
compute(Map<String,Object> combinedAggregators) |
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.
|
boolean |
equals(Object o) |
byte[] |
getCacheKey()
Get a byte array used as a cache key.
|
Comparator<Object> |
getComparator() |
Set<String> |
getDependentFields() |
List<PostAggregator> |
getFields() |
String |
getFunc() |
String |
getName() |
int |
getSize() |
int |
hashCode() |
String |
toString() |
public SketchSetPostAggregator(String name, String func, Integer maxSize, List<PostAggregator> fields)
public Set<String> getDependentFields()
getDependentFields
in interface PostAggregator
public Comparator<Object> getComparator()
getComparator
in interface PostAggregator
public Object compute(Map<String,Object> combinedAggregators)
compute
in interface PostAggregator
public String getName()
getName
in interface PostAggregator
public PostAggregator decorate(Map<String,AggregatorFactory> aggregators)
PostAggregator
decorate
in interface PostAggregator
aggregators
- A map of aggregator factories with their names.public String getFunc()
public List<PostAggregator> getFields()
public int getSize()
public byte[] getCacheKey()
Cacheable
getCacheKey
in interface Cacheable
Copyright © 2011–2018. All rights reserved.