public class BootstrapAggFunction extends Object implements org.apache.flink.api.common.functions.AggregateFunction<Integer,BootstrapAccumulator,Integer>
BootstrapOperator.| Constructor and Description |
|---|
BootstrapAggFunction() |
| Modifier and Type | Method and Description |
|---|---|
BootstrapAccumulator |
add(Integer taskId,
BootstrapAccumulator bootstrapAccumulator) |
BootstrapAccumulator |
createAccumulator() |
Integer |
getResult(BootstrapAccumulator bootstrapAccumulator) |
BootstrapAccumulator |
merge(BootstrapAccumulator bootstrapAccumulator,
BootstrapAccumulator acc) |
public static final String NAME
public BootstrapAccumulator createAccumulator()
createAccumulator in interface org.apache.flink.api.common.functions.AggregateFunction<Integer,BootstrapAccumulator,Integer>public BootstrapAccumulator add(Integer taskId, BootstrapAccumulator bootstrapAccumulator)
add in interface org.apache.flink.api.common.functions.AggregateFunction<Integer,BootstrapAccumulator,Integer>public Integer getResult(BootstrapAccumulator bootstrapAccumulator)
getResult in interface org.apache.flink.api.common.functions.AggregateFunction<Integer,BootstrapAccumulator,Integer>public BootstrapAccumulator merge(BootstrapAccumulator bootstrapAccumulator, BootstrapAccumulator acc)
merge in interface org.apache.flink.api.common.functions.AggregateFunction<Integer,BootstrapAccumulator,Integer>Copyright © 2022 The Apache Software Foundation. All rights reserved.