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