@PublicEvolving
public interface OutputTypeConfigurable<OUT>
StreamGraph generation. This can be useful for
cases where the output type is specified by the returns method and, thus, after the stream
operator has been created.| 限定符和类型 | 方法和说明 |
|---|---|
void |
setOutputType(org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo,
org.apache.flink.api.common.ExecutionConfig executionConfig)
Is called by the
org.apache.flink.streaming.api.graph.StreamGraph#addOperator(Integer,
String, StreamOperator, TypeInformation, TypeInformation, String) method when the StreamGraph is generated. |
void setOutputType(org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo, org.apache.flink.api.common.ExecutionConfig executionConfig)
org.apache.flink.streaming.api.graph.StreamGraph#addOperator(Integer,
String, StreamOperator, TypeInformation, TypeInformation, String) method when the StreamGraph is generated. The method is called with the
output TypeInformation which is also used for the StreamTask output serializer.outTypeInfo - Output type information of the StreamTaskexecutionConfig - Execution configurationCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.