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
ConstructorsConstructorDescriptionRunnerOutputCollector(org.apache.flink.streaming.api.operators.TimestampedCollector<OUT> collector) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcollect(org.apache.flink.types.Row runnerOutput) <X> voidcollect(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)
-
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:
collectin interfaceorg.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:
closein interfaceorg.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)
-