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
.Constructor and Description |
---|
ClassDataTypeConverter() |
public static DataType fromClassToDataType(Class<?> clazz)
clazz
- The class of the type.InvalidTypesException
- Cannot extract TypeInformation from Class alone, because
generic parameters are missing.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.