public static class GenericUDAFSumEmptyIsZero.SumHiveDecimalZeroIfEmpty extends GenericUDAFSum.GenericUDAFSumHiveDecimal
GenericUDAFEvaluator.AbstractAggregationBuffer, GenericUDAFEvaluator.AggregationBuffer, GenericUDAFEvaluator.AggregationType, GenericUDAFEvaluator.Mode
inputOI, isWindowing, outputOI, result, sumDistinct
partitionEvaluator
Constructor and Description |
---|
SumHiveDecimalZeroIfEmpty() |
Modifier and Type | Method and Description |
---|---|
Object |
terminate(GenericUDAFEvaluator.AggregationBuffer agg)
Get final aggregation result.
|
createPartitionEvaluator, getNewAggregationBuffer, getOutputDecimalTypeInfoForSum, getWindowingEvaluator, init, iterate, merge, reset
isEligibleValue, isWindowingDistinct, setSumDistinct, setWindowing, terminatePartial
aggregate, close, configure, estimate, evaluate, getExprString, getPartitionWindowingEvaluator, isEstimable
public Object terminate(GenericUDAFEvaluator.AggregationBuffer agg) throws HiveException
GenericUDAFEvaluator
terminate
in class GenericUDAFSum.GenericUDAFSumHiveDecimal
HiveException
Copyright © 2022 The Apache Software Foundation. All rights reserved.