Class 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 Detail

      • RunnerOutputCollector

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

      • 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)