Class StreamRecordCollector<T>

java.lang.Object
org.apache.flink.table.runtime.util.StreamRecordCollector<T>
Type Parameters:
T - The type of the elements that can be emitted.
All Implemented Interfaces:
org.apache.flink.util.Collector<T>

@Internal public class StreamRecordCollector<T> extends Object implements org.apache.flink.util.Collector<T>
Wrapper around an Output for wrap T to StreamRecord.
  • Constructor Details

    • StreamRecordCollector

      public StreamRecordCollector(org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<T>> output)
  • Method Details

    • collect

      public void collect(T record)
      Specified by:
      collect in interface org.apache.flink.util.Collector<T>
    • close

      public void close()
      Specified by:
      close in interface org.apache.flink.util.Collector<T>