DataTypeFactory.createDataType(TypeInformation)instead. Note that this method will not create legacy types anymore. It fully uses the new type system available only in the Blink planner.
@Internal @Deprecated public final class LegacyTypeInfoDataTypeConverter extends Object
DataTypethat reflects the behavior before Flink 1.9. The conversion is a 1:1 mapping that allows back-and-forth conversion. Note that nullability constraints might get lost during the back-and-forth conversion.
This converter only exists to still support deprecated methods that take or return
TypeInformation. Some methods will still support type information in the future, however, the
future type information support will integrate nicer with the new type stack.
This converter reflects the old behavior that includes:
java.sql.*time classes for time data types.
Any changes here need to be applied to the legacy planner as well.
|Modifier and Type||Method and Description|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.