public interface DataTypeConvertor<T>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getIdentity() |
T |
toConnectorType(String field,
SeaTunnelDataType<?> seaTunnelDataType,
Map<String,Object> dataTypeProperties)
Transfer the data type from SeaTunnel to connector.
|
SeaTunnelDataType<?> |
toSeaTunnelType(String field,
String connectorDataType)
Transfer the data type from connector to SeaTunnel.
|
SeaTunnelDataType<?> |
toSeaTunnelType(String field,
T connectorDataType,
Map<String,Object> dataTypeProperties)
Transfer the data type from connector to SeaTunnel.
|
SeaTunnelDataType<?> toSeaTunnelType(String field, String connectorDataType)
field - The field name of the columnconnectorDataType - e.g. "int", "varchar(255)"SeaTunnelDataType<?> toSeaTunnelType(String field, T connectorDataType, Map<String,Object> dataTypeProperties)
field - The field name of the columnconnectorDataType - origin data typedataTypeProperties - origin data type properties, e.g. precision, scale, lengthT toConnectorType(String field, SeaTunnelDataType<?> seaTunnelDataType, Map<String,Object> dataTypeProperties)
field - The field name of the columnseaTunnelDataType - seaTunnel data typedataTypeProperties - seaTunnel data type properties, e.g. precision, scale, lengthString getIdentity()
Copyright © 2024 The Apache Software Foundation. All rights reserved.