public class ClassDataTypeConverter extends Object
DataType from a Class. It must return a DataType.
Convert known types by TypeConversions.fromClassToDataType(java.lang.Class<?>).
Convert unknown types by LegacyTypeInformationType.public static org.apache.flink.table.types.DataType fromClassToDataType(Class<?> clazz)
clazz - The class of the type.org.apache.flink.api.common.functions.InvalidTypesException - Cannot extract TypeInformation from Class alone,
because generic parameters are missing.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.