Package com.databend.jdbc
Class JdbcTypeMapping
- java.lang.Object
-
- com.databend.jdbc.JdbcTypeMapping
-
public class JdbcTypeMapping extends Object
-
-
Constructor Summary
Constructors Constructor Description JdbcTypeMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.databend.client.data.DatabendDataTypegetDataType(int sqlType)Gets correspondingDatabendDataTypeof the givenTypes.inttoSqlType(DatabendColumnInfo column)ConvertsDatabendColumnInfoto generic SQL type defined in JDBC.
-
-
-
Method Detail
-
toSqlType
public int toSqlType(DatabendColumnInfo column)
ConvertsDatabendColumnInfoto generic SQL type defined in JDBC.- Parameters:
column- non-null column definition- Returns:
- generic SQL type defined in JDBC
-
getDataType
protected com.databend.client.data.DatabendDataType getDataType(int sqlType)
Gets correspondingDatabendDataTypeof the givenTypes.- Parameters:
sqlType- generic SQL types defined in JDBC- Returns:
- non-null Databend data type
-
-