public class MiniBatchDeduplicateKeepLastRowFunction extends MapBundleFunction<BaseRow,BaseRow,BaseRow,BaseRow>
ctx| 构造器和说明 |
|---|
MiniBatchDeduplicateKeepLastRowFunction(BaseRowTypeInfo rowTypeInfo,
boolean generateRetraction,
org.apache.flink.api.common.typeutils.TypeSerializer<BaseRow> typeSerializer) |
| 限定符和类型 | 方法和说明 |
|---|---|
BaseRow |
addInput(BaseRow value,
BaseRow input)
Adds the given input to the given value, returning the new bundle value.
|
void |
finishBundle(Map<BaseRow,BaseRow> buffer,
org.apache.flink.util.Collector<BaseRow> out)
Called when a bundle is finished.
|
void |
open(ExecutionContext ctx) |
closepublic MiniBatchDeduplicateKeepLastRowFunction(BaseRowTypeInfo rowTypeInfo, boolean generateRetraction, org.apache.flink.api.common.typeutils.TypeSerializer<BaseRow> typeSerializer)
public void open(ExecutionContext ctx) throws Exception
public BaseRow addInput(@Nullable BaseRow value, BaseRow input)
MapBundleFunctionpublic void finishBundle(Map<BaseRow,BaseRow> buffer, org.apache.flink.util.Collector<BaseRow> out) throws Exception
MapBundleFunctionfinishBundle 在类中 MapBundleFunction<BaseRow,BaseRow,BaseRow,BaseRow>ExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.