public static class GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator extends GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator<org.apache.hadoop.hive.common.type.HiveDecimal,HiveDecimalObjectInspector>
Modifier and Type | Class and Description |
---|---|
class |
GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator.DecimalStatsAgg |
GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
GenericUDAFEvaluator.AbstractAggregationBuffer, GenericUDAFEvaluator.AggregationBuffer, GenericUDAFEvaluator.AggregationType, GenericUDAFEvaluator.Mode
countNullsField, countNullsFieldOI, funcOI, inputOI, MAX_BIT_VECTORS, maxField, maxFieldOI, minField, minFieldOI, ndvField, ndvFieldOI, numVectorsOI, partialResult, result, soi
partitionEvaluator
Constructor and Description |
---|
GenericUDAFDecimalStatsEvaluator() |
Modifier and Type | Method and Description |
---|---|
GenericUDAFEvaluator.AggregationBuffer |
getNewAggregationBuffer()
Get a new aggregation object.
|
protected HiveDecimalObjectInspector |
getValueObjectInspector() |
protected HiveDecimalObjectInspector |
getValueObjectInspector(PrimitiveTypeInfo typeInfo) |
void |
reset(GenericUDAFEvaluator.AggregationBuffer agg)
Reset the aggregation.
|
init, iterate, merge, terminate, terminatePartial
aggregate, close, configure, createPartitionEvaluator, estimate, evaluate, getExprString, getPartitionWindowingEvaluator, getWindowingEvaluator, isEstimable
protected HiveDecimalObjectInspector getValueObjectInspector()
getValueObjectInspector
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator<org.apache.hadoop.hive.common.type.HiveDecimal,HiveDecimalObjectInspector>
protected HiveDecimalObjectInspector getValueObjectInspector(PrimitiveTypeInfo typeInfo)
getValueObjectInspector
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator<org.apache.hadoop.hive.common.type.HiveDecimal,HiveDecimalObjectInspector>
public GenericUDAFEvaluator.AggregationBuffer getNewAggregationBuffer() throws HiveException
GenericUDAFEvaluator
getNewAggregationBuffer
in class GenericUDAFEvaluator
HiveException
public void reset(GenericUDAFEvaluator.AggregationBuffer agg) throws HiveException
GenericUDAFEvaluator
reset
in class GenericUDAFEvaluator
HiveException
Copyright © 2022 The Apache Software Foundation. All rights reserved.