Class PythonTypeUtils.TypeInfoToProtoConverter
- java.lang.Object
-
- org.apache.flink.streaming.api.utils.PythonTypeUtils.TypeInfoToProtoConverter
-
- Enclosing class:
- PythonTypeUtils
public static class PythonTypeUtils.TypeInfoToProtoConverter extends Object
Get coder proto according to the given type information.
-
-
Constructor Summary
Constructors Constructor Description TypeInfoToProtoConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
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.
-
-