Class TypeTransformations
- java.lang.Object
-
- org.apache.flink.table.types.inference.TypeTransformations
-
@Internal public final class TypeTransformations extends Object
Transformations for transforming one data type to another.- See Also:
TypeTransformation
-
-
Field Summary
Fields Modifier and Type Field Description static TypeTransformationTO_INTERNAL_CLASSTransformation that uses internal data structures for all conversion classes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeTransformationlegacyRawToTypeInfoRaw()Returns a type transformation that transforms LEGACY('RAW', ...) type to the RAW(..., ?)static TypeTransformationlegacyToNonLegacy()Returns a type transformation that transforms LEGACY(...) type to a non-legacy type.static TypeTransformationtimeToSqlTypes()static TypeTransformationtoNullable()Returns a type transformation that transforms data type to nullable data type but keeps other information unchanged.
-
-
-
Field Detail
-
TO_INTERNAL_CLASS
public static final TypeTransformation TO_INTERNAL_CLASS
Transformation that uses internal data structures for all conversion classes.
-
-
Method Detail
-
timeToSqlTypes
public static TypeTransformation timeToSqlTypes()
-
legacyRawToTypeInfoRaw
public static TypeTransformation legacyRawToTypeInfoRaw()
Returns a type transformation that transforms LEGACY('RAW', ...) type to the RAW(..., ?) type.
-
legacyToNonLegacy
public static TypeTransformation legacyToNonLegacy()
Returns a type transformation that transforms LEGACY(...) type to a non-legacy type.
-
toNullable
public static TypeTransformation toNullable()
Returns a type transformation that transforms data type to nullable data type but keeps other information unchanged.
-
-