Interface OutputWithChainingCheck<OUT>

All Superinterfaces:
AutoCloseable, Closeable, org.apache.flink.util.Collector<OUT>, Output<OUT>, WatermarkGaugeExposingOutput<OUT>
All Known Implementing Classes:
RecordWriterOutput

@Internal public interface OutputWithChainingCheck<OUT> extends WatermarkGaugeExposingOutput<OUT>
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 Details

    • collectAndCheckIfChained

      boolean collectAndCheckIfChained(OUT record)
      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.