storm.trident.operation.builtin
Class Sum
java.lang.Object
storm.trident.operation.builtin.Sum
- All Implemented Interfaces:
- Serializable, CombinerAggregator<Number>
public class Sum
- extends Object
- implements CombinerAggregator<Number>
- See Also:
- Serialized Form
|
Constructor Summary |
Sum()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sum
public Sum()
init
public Number init(TridentTuple tuple)
- Specified by:
init in interface CombinerAggregator<Number>
combine
public Number combine(Number val1,
Number val2)
- Specified by:
combine in interface CombinerAggregator<Number>
zero
public Number zero()
- Specified by:
zero in interface CombinerAggregator<Number>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.