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>
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
ConstructorsConstructorDescriptionKeyCheckedOutputCollector(TimestampCollector<OUT> collector, org.apache.flink.api.java.functions.KeySelector<OUT, KEY> outKeySelector, Supplier<KEY> currentKeyGetter) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcollectAndOverwriteTimestamp(OUT outputRecord, long timestamp) Methods inherited from class org.apache.flink.datastream.impl.common.TimestampCollector
eraseTimestamp, setTimestamp, setTimestampFromStreamRecord
-
Constructor Details
-
KeyCheckedOutputCollector
-
-
Method Details
-
collect
-
collectAndOverwriteTimestamp
-