Class JdbcArrowTypeConverter
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.manager.JdbcArrowTypeConverter
-
public final class JdbcArrowTypeConverter extends Object
Utility abstracts Jdbc to Arrow type conversions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.arrow.vector.types.pojo.ArrowType
toArrowType(int jdbcType, int precision, int scale, Map<String,String> configOptions)
Coverts Jdbc data type to Arrow data type.
-
-
-
Method Detail
-
toArrowType
public static org.apache.arrow.vector.types.pojo.ArrowType toArrowType(int jdbcType, int precision, int scale, Map<String,String> configOptions)
Coverts Jdbc data type to Arrow data type.- Parameters:
jdbcType
- Jdbc integer type. SeeTypes
.precision
- Decimal precision.scale
- Decimal scale.- Returns:
- Arrow type. See
ArrowType
.
-
-