Class ShortSummaryAggregator.MinShortAggregator
- java.lang.Object
-
- org.apache.flink.api.java.summarize.aggregation.ShortSummaryAggregator.MinShortAggregator
-
- All Implemented Interfaces:
Serializable,Aggregator<Short,Short>
- Enclosing class:
- ShortSummaryAggregator
public static class ShortSummaryAggregator.MinShortAggregator extends Object implements Aggregator<Short,Short>
Aggregator for min operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MinShortAggregator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate(Short value)Add a value to the current aggregation.voidcombine(Aggregator<Short,Short> other)Combine two aggregations of the same type.Shortresult()Provide the final result of the aggregation.
-
-
-
Method Detail
-
aggregate
public void aggregate(Short value)
Description copied from interface:AggregatorAdd a value to the current aggregation.- Specified by:
aggregatein interfaceAggregator<Short,Short>
-
combine
public void combine(Aggregator<Short,Short> other)
Description copied from interface:AggregatorCombine two aggregations of the same type.(Implementations will need to do an unchecked cast).
- Specified by:
combinein interfaceAggregator<Short,Short>
-
result
public Short result()
Description copied from interface:AggregatorProvide the final result of the aggregation.- Specified by:
resultin interfaceAggregator<Short,Short>
-
-