Class PythonTypeUtils.TypeInfoToProtoConverter
java.lang.Object
org.apache.flink.streaming.api.utils.PythonTypeUtils.TypeInfoToProtoConverter
- Enclosing class:
- PythonTypeUtils
Get coder proto according to the given type information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FlinkFnApi.TypeInfotoTypeInfoProto(org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInformation, ClassLoader userClassLoader) userClassLoader could be null if no external class loading is needed, e.g. load Avro classes.
-
Constructor Details
-
TypeInfoToProtoConverter
public TypeInfoToProtoConverter()
-
-
Method Details
-
toTypeInfoProto
public static FlinkFnApi.TypeInfo toTypeInfoProto(org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInformation, @Nullable ClassLoader userClassLoader) userClassLoader could be null if no external class loading is needed, e.g. load Avro classes.
-