public static Class<?> sqlTypeToJavaType(String type) {
        FieldType fieldType = FieldType.forName(StringUtils.substringBefore(type, LEFT_BRACKET));
        switch (fieldType) {
            case BOOLEAN:
                return Boolean.class;
            case TINYINT:
            case SMALLINT:
            case INT:
                return int.class;
            case BIGINT:
                return Long.class;
            case FLOAT:
                return Float.class;
            case DOUBLE:
                return Double.class;
            case DECIMAL:
                return BigDecimal.class;
            case VARCHAR:
            case STRING:
                return String.class;
            case DATE:
            case TIME:
                return java.util.Date.class;
            case TIMESTAMP:
            case TIMESTAMPTZ:
                return Timestamp.class;
            default:
                return Object.class;
        }
    }
Convert SQL type names to Java types.
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/util/FieldInfoUtils.java