public class DecimalSum0WithRetractAggFunction extends DecimalSumWithRetractAggFunction
Constructor and Description |
---|
DecimalSum0WithRetractAggFunction() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getValue(DecimalSumWithRetractAccumulator acc)
Called every time when an aggregation result should be materialized.
|
accumulate, createAccumulator, getAccumulatorType, merge, resetAccumulator, retract
requiresOver
close, functionIdentifier, open
public BigDecimal getValue(DecimalSumWithRetractAccumulator acc)
AggregateFunction
getValue
in class DecimalSumWithRetractAggFunction
acc
- the accumulator which contains the current
aggregated resultsCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.