T
- Type of datapublic interface RamaCombinerAgg<T> extends RamaSerializable
Modifier and Type | Method and Description |
---|---|
T |
combine(T curr,
T arg)
Combine two values into an aggregated value
|
default boolean |
isFlushRequired()
Controls memory usage when Rama performs two-phase optimization for combiners.
|
T |
zeroVal()
Returns result value if there is no input
|
T combine(T curr, T arg)
curr
- First valuearg
- Second valueT zeroVal()
default boolean isFlushRequired()