public class ApproximateHistogramAggregatorFactory extends AggregatorFactory
| Modifier and Type | Field and Description |
|---|---|
protected String |
fieldName |
protected float |
lowerLimit |
protected String |
name |
protected int |
numBuckets |
protected int |
resolution |
protected float |
upperLimit |
| Constructor and Description |
|---|
ApproximateHistogramAggregatorFactory(String name,
String fieldName,
Integer resolution,
Integer numBuckets,
Float lowerLimit,
Float upperLimit) |
| Modifier and Type | Method and Description |
|---|---|
Object |
combine(Object lhs,
Object rhs) |
Object |
deserialize(Object object) |
boolean |
equals(Object o) |
Aggregator |
factorize(ColumnSelectorFactory metricFactory) |
BufferAggregator |
factorizeBuffered(ColumnSelectorFactory metricFactory) |
Object |
finalizeComputation(Object object) |
Object |
getAggregatorStartValue() |
byte[] |
getCacheKey() |
AggregatorFactory |
getCombiningFactory() |
Comparator |
getComparator() |
String |
getFieldName() |
float |
getLowerLimit() |
int |
getMaxIntermediateSize() |
AggregatorFactory |
getMergingFactory(AggregatorFactory other) |
String |
getName() |
int |
getNumBuckets() |
List<AggregatorFactory> |
getRequiredColumns() |
int |
getResolution() |
String |
getTypeName() |
float |
getUpperLimit() |
int |
hashCode() |
List<String> |
requiredFields() |
String |
toString() |
mergeAggregatorsprotected final String name
protected final String fieldName
protected final int resolution
protected final int numBuckets
protected final float lowerLimit
protected final float upperLimit
public Aggregator factorize(ColumnSelectorFactory metricFactory)
factorize in class AggregatorFactorypublic BufferAggregator factorizeBuffered(ColumnSelectorFactory metricFactory)
factorizeBuffered in class AggregatorFactorypublic Comparator getComparator()
getComparator in class AggregatorFactorypublic Object combine(Object lhs, Object rhs)
combine in class AggregatorFactorypublic AggregatorFactory getCombiningFactory()
getCombiningFactory in class AggregatorFactorypublic AggregatorFactory getMergingFactory(AggregatorFactory other) throws AggregatorFactoryNotMergeableException
getMergingFactory in class AggregatorFactoryAggregatorFactoryNotMergeableExceptionpublic List<AggregatorFactory> getRequiredColumns()
getRequiredColumns in class AggregatorFactorypublic Object deserialize(Object object)
deserialize in class AggregatorFactorypublic Object finalizeComputation(Object object)
finalizeComputation in class AggregatorFactorypublic String getName()
getName in class AggregatorFactorypublic String getFieldName()
public int getResolution()
public float getLowerLimit()
public float getUpperLimit()
public int getNumBuckets()
public List<String> requiredFields()
requiredFields in class AggregatorFactorypublic byte[] getCacheKey()
getCacheKey in class AggregatorFactorypublic String getTypeName()
getTypeName in class AggregatorFactorypublic int getMaxIntermediateSize()
getMaxIntermediateSize in class AggregatorFactorypublic Object getAggregatorStartValue()
getAggregatorStartValue in class AggregatorFactoryCopyright © 2011–2016. All rights reserved.