Interface OutputWithChainingCheck<OUT>
- All Superinterfaces:
AutoCloseable,Closeable,org.apache.flink.util.Collector<OUT>,Output<OUT>,WatermarkGaugeExposingOutput<OUT>
- All Known Implementing Classes:
RecordWriterOutput
This is a wrapper for outputs to check whether the collected record has been emitted to a
downstream subtask or to a chained operator.
-
Method Summary
Modifier and TypeMethodDescription<X> booleancollectAndCheckIfChained(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record) booleancollectAndCheckIfChained(OUT record) Methods inherited from interface org.apache.flink.util.Collector
close, collectMethods inherited from interface org.apache.flink.streaming.api.operators.Output
collect, emitLatencyMarker, emitRecordAttributes, emitWatermark, emitWatermark, emitWatermarkStatusMethods inherited from interface org.apache.flink.streaming.runtime.tasks.WatermarkGaugeExposingOutput
getWatermarkGauge
-
Method Details
-
collectAndCheckIfChained
- Returns:
- true if the collected record has been emitted to a downstream subtask. Otherwise, false.
-
collectAndCheckIfChained
<X> boolean collectAndCheckIfChained(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record) - Returns:
- true if the collected record has been emitted to a downstream subtask. Otherwise, false.
-