程序包 com.databend.jdbc

# 类 JdbcTypeMapping

java.lang.Object
com.databend.jdbc.JdbcTypeMapping

public class JdbcTypeMapping extends Object

## 构造器概要

构造器
构造器
说明
`JdbcTypeMapping()`

## 方法概要

修饰符和类型
方法
说明
`protected com.databend.client.data.DatabendDataType`
`getDataType(int sqlType)`
Gets corresponding `DatabendDataType` of the given `Types`.
`int`
`toSqlType(DatabendColumnInfo column)`
Converts `DatabendColumnInfo` to generic SQL type defined in JDBC.

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## 构造器详细资料

### JdbcTypeMapping

public JdbcTypeMapping()

## 方法详细资料

### toSqlType

public int toSqlType(DatabendColumnInfo column)
Converts `DatabendColumnInfo` to generic SQL type defined in JDBC.

参数:
  `column` - non-null column definition
返回:
  generic SQL type defined in JDBC

### getDataType

protected com.databend.client.data.DatabendDataType getDataType(int sqlType)
Gets corresponding `DatabendDataType` of the given `Types`.

参数:
  `sqlType` - generic SQL types defined in JDBC
返回:
  non-null Databend data type