Class TypeTransformations


  • @Internal
    public final class TypeTransformations
    extends Object
    Transformations for transforming one data type to another.
    See Also:
    TypeTransformation
    • 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()
        Returns a type transformation that transforms data type to a new data type whose conversion class is Timestamp/Time/Date if the original data type is TIMESTAMP/TIME/DATE.
      • 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.