Uses of Class
org.apache.arrow.adapter.jdbc.JdbcFieldInfo
Packages that use JdbcFieldInfo
-
Uses of JdbcFieldInfo in org.apache.arrow.adapter.jdbc
Methods in org.apache.arrow.adapter.jdbc that return JdbcFieldInfoModifier 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.Methods in org.apache.arrow.adapter.jdbc that return types with arguments of type JdbcFieldInfoModifier 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
.Methods in org.apache.arrow.adapter.jdbc with parameters of type JdbcFieldInfoModifier and TypeMethodDescriptionstatic ArrowType
JdbcToArrowUtils.getArrowTypeFromJdbcType
(JdbcFieldInfo fieldInfo, Calendar calendar) Converts the provided JDBC type to its respectiveArrowType
counterpart.Method parameters in org.apache.arrow.adapter.jdbc with type arguments of type JdbcFieldInfoModifier 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
Methods in org.apache.arrow.adapter.jdbc.consumer.exceptions that return JdbcFieldInfoConstructors in org.apache.arrow.adapter.jdbc.consumer.exceptions with parameters of type JdbcFieldInfoModifierConstructorDescriptionJdbcConsumerException
(String message, Throwable cause, JdbcFieldInfo fieldInfo, ArrowType arrowType) Construct JdbcConsumerException with all fields.