@Internal public class PostgresTypeMapper extends Object implements org.apache.flink.connector.jdbc.core.database.catalog.JdbcCatalogTypeMapper
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
PG_BIGSERIAL |
protected static String |
PG_SERIAL |
| 构造器和说明 |
|---|
PostgresTypeMapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getDBType() |
protected org.apache.flink.table.types.DataType |
getMapping(String pgType,
int precision,
int scale) |
org.apache.flink.table.types.DataType |
mapping(org.apache.flink.table.catalog.ObjectPath tablePath,
ResultSetMetaData metadata,
int colIndex) |
public org.apache.flink.table.types.DataType mapping(org.apache.flink.table.catalog.ObjectPath tablePath,
ResultSetMetaData metadata,
int colIndex)
throws SQLException
mapping 在接口中 org.apache.flink.connector.jdbc.core.database.catalog.JdbcCatalogTypeMapperSQLExceptionprotected org.apache.flink.table.types.DataType getMapping(String pgType, int precision, int scale)
protected String getDBType()
Copyright © 2022–2025 The Apache Software Foundation. All rights reserved.