@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.| Modifier and Type | Method and Description |
|---|---|
void |
setOutputType(org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo,
org.apache.flink.api.common.ExecutionConfig executionConfig)
Is called by the
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)
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–2016 The Apache Software Foundation. All rights reserved.