Class LogicalTypeUtils


  • @Internal
    public final class LogicalTypeUtils
    extends Object
    Utilities for handling LogicalTypes.
    • Method Detail

      • toInternalConversionClass

        public static Class<?> toInternalConversionClass​(LogicalType type)
        Returns the conversion class for the given LogicalType that is used by the table runtime as internal data structure.
        See Also:
        RowData
      • toRowType

        public static RowType toRowType​(LogicalType t)
        Converts any logical type to a row type. Composite types are converted to a row type. Atomic types are wrapped into a field.
      • getAtomicName

        public static String getAtomicName​(List<String> existingNames)
        Returns a unique name for an atomic type.