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