Class KeyCheckedOutputCollector<KEY,OUT>
- java.lang.Object
-
- org.apache.flink.datastream.impl.common.TimestampCollector<OUT>
-
- org.apache.flink.datastream.impl.common.KeyCheckedOutputCollector<KEY,OUT>
-
- All Implemented Interfaces:
org.apache.flink.datastream.api.common.Collector<OUT>
public class KeyCheckedOutputCollector<KEY,OUT> extends TimestampCollector<OUT>
This output checks whether the current key of the output record and the key extracted with a specific key selector are exactly the same.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.datastream.impl.common.TimestampCollector
reuse
-
-
Constructor Summary
Constructors Constructor Description KeyCheckedOutputCollector(TimestampCollector<OUT> collector, org.apache.flink.api.java.functions.KeySelector<OUT,KEY> outKeySelector, Supplier<KEY> currentKeyGetter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(OUT outputRecord)voidcollectAndOverwriteTimestamp(OUT outputRecord, long timestamp)-
Methods inherited from class org.apache.flink.datastream.impl.common.TimestampCollector
eraseTimestamp, setTimestamp, setTimestampFromStreamRecord
-
-