Class JdbcTypeMapping


  • public final class JdbcTypeMapping
    extends Object
    • Method Detail

      • toJdbcType

        public static int toJdbcType​(ClickHouseColumn column)
        Gets corresponding JDBC type for the given column.
        Parameters:
        column - non-null column definition
        Returns:
        JDBC type
      • fromJdbcType

        public static ClickHouseColumn fromJdbcType​(int jdbcType,
                                                    int scaleOrLength)