public class GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator.DecimalStatsAgg extends GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
columnType, countNulls, max, min, numDV
Constructor and Description |
---|
GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator.DecimalStatsAgg() |
Modifier and Type | Method and Description |
---|---|
int |
estimate()
Estimate the size of memory which is occupied by aggregation buffer.
|
protected void |
update(Object p,
PrimitiveObjectInspector inputOI) |
protected void |
updateMax(Object maxValue,
HiveDecimalObjectInspector maxFieldOI) |
protected void |
updateMin(Object minValue,
HiveDecimalObjectInspector minFieldOI) |
initNDVEstimator, reset, serialize, serializePartial
public GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator.DecimalStatsAgg()
public int estimate()
GenericUDAFEvaluator.AbstractAggregationBuffer
estimate
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
protected void update(Object p, PrimitiveObjectInspector inputOI)
update
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
protected void updateMin(Object minValue, HiveDecimalObjectInspector minFieldOI)
updateMin
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
protected void updateMax(Object maxValue, HiveDecimalObjectInspector maxFieldOI)
updateMax
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
Copyright © 2017 The Apache Software Foundation. All rights reserved.