Class RunnerOutputCollector<OUT>

java.lang.Object
org.apache.flink.streaming.api.operators.python.process.collector.RunnerOutputCollector<OUT>
All Implemented Interfaces:
org.apache.flink.util.Collector<org.apache.flink.types.Row>

@Internal public final class RunnerOutputCollector<OUT> extends Object implements org.apache.flink.util.Collector<org.apache.flink.types.Row>
Output collector for Python UDF runner.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RunnerOutputCollector(org.apache.flink.streaming.api.operators.TimestampedCollector<OUT> collector)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    collect(org.apache.flink.types.Row runnerOutput)
     
    <X> void
    collect(org.apache.flink.util.OutputTag<X> outputTag, org.apache.flink.types.Row runnerOutput)
     
    static org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row>
    getRunnerOutputTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<?> elementDataTypeInfo)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RunnerOutputCollector

      public RunnerOutputCollector(org.apache.flink.streaming.api.operators.TimestampedCollector<OUT> collector)
  • Method Details

    • collect

      public void collect(org.apache.flink.types.Row runnerOutput)
      Specified by:
      collect in interface org.apache.flink.util.Collector<OUT>
    • collect

      public <X> void collect(org.apache.flink.util.OutputTag<X> outputTag, org.apache.flink.types.Row runnerOutput)
    • close

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

      public static org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> getRunnerOutputTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<?> elementDataTypeInfo)