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 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.