public class Sum extends Object implements CombinerAggregator<Number>
Constructor and Description |
---|
Sum() |
Modifier and Type | Method and Description |
---|---|
Number |
combine(Number val1,
Number val2) |
Number |
init(TridentTuple tuple) |
Number |
zero() |
public Number init(TridentTuple tuple)
init
in interface CombinerAggregator<Number>
public Number combine(Number val1, Number val2)
combine
in interface CombinerAggregator<Number>
public Number zero()
zero
in interface CombinerAggregator<Number>
Copyright © 2022 The Apache Software Foundation. All rights reserved.