Class PythonTypeUtils.TypeInfoToProtoConverter

  • Enclosing class:
    PythonTypeUtils

    public static class PythonTypeUtils.TypeInfoToProtoConverter
    extends Object
    Get coder proto according to the given type information.
    • Constructor Detail

      • TypeInfoToProtoConverter

        public TypeInfoToProtoConverter()
    • 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.