Uses of Class
org.apache.arrow.adapter.jdbc.JdbcFieldInfo
-
Uses of JdbcFieldInfo in org.apache.arrow.adapter.jdbc
Modifier and TypeMethodDescriptionJdbcToArrowConfig.getArraySubTypeByColumnIndex
(int index) Returns the array sub-typeJdbcFieldInfo
defined for the provided column index.JdbcToArrowConfig.getArraySubTypeByColumnName
(String name) Returns the array sub-typeJdbcFieldInfo
defined for the provided column name.JdbcToArrowConfig.getExplicitTypeByColumnIndex
(int index) Returns the typeJdbcFieldInfo
explicitly defined for the provided column index.JdbcToArrowConfig.getExplicitTypeByColumnName
(String name) Returns the typeJdbcFieldInfo
explicitly defined for the provided column name.Modifier and TypeMethodDescriptionJdbcToArrowConfig.getJdbcToArrowTypeConverter()
Gets the mapping between JDBC type information to Arrow type.static Function<JdbcFieldInfo,
ArrowType> JdbcToArrowUtils.reportUnsupportedTypesAsOpaque
(Function<JdbcFieldInfo, ArrowType> typeConverter, String vendorName) Wrap a JDBC to Arrow type converter such thatUnsupportedOperationException
becomesOpaqueType
.Modifier and TypeMethodDescriptionstatic ArrowType
JdbcToArrowUtils.getArrowTypeFromJdbcType
(JdbcFieldInfo fieldInfo, Calendar calendar) Converts the provided JDBC type to its respectiveArrowType
counterpart.Modifier and TypeMethodDescriptionstatic Function<JdbcFieldInfo,
ArrowType> JdbcToArrowUtils.reportUnsupportedTypesAsOpaque
(Function<JdbcFieldInfo, ArrowType> typeConverter, String vendorName) Wrap a JDBC to Arrow type converter such thatUnsupportedOperationException
becomesOpaqueType
.JdbcToArrowConfigBuilder.setArraySubTypeByColumnIndexMap
(Map<Integer, JdbcFieldInfo> map) Sets the mapping of column-index-to-JdbcFieldInfo
used for columns of typeTypes.ARRAY
.JdbcToArrowConfigBuilder.setArraySubTypeByColumnNameMap
(Map<String, JdbcFieldInfo> map) Sets the mapping of column-name-to-JdbcFieldInfo
used for columns of typeTypes.ARRAY
.JdbcToArrowConfigBuilder.setExplicitTypesByColumnIndex
(Map<Integer, JdbcFieldInfo> map) Sets the mapping of column-index-to-JdbcFieldInfo
used for column types.JdbcToArrowConfigBuilder.setExplicitTypesByColumnName
(Map<String, JdbcFieldInfo> map) Sets the mapping of column-name-to-JdbcFieldInfo
used for column types.JdbcToArrowConfigBuilder.setJdbcToArrowTypeConverter
(Function<JdbcFieldInfo, ArrowType> jdbcToArrowTypeConverter) Set the function used to convert JDBC types to Arrow types. -
Uses of JdbcFieldInfo in org.apache.arrow.adapter.jdbc.consumer.exceptions
ModifierConstructorDescriptionJdbcConsumerException
(String message, Throwable cause, JdbcFieldInfo fieldInfo, ArrowType arrowType) Construct JdbcConsumerException with all fields.