Uses of Class
org.apache.arrow.adapter.jdbc.JdbcToArrowConfigBuilder
-
Uses of JdbcToArrowConfigBuilder in org.apache.arrow.adapter.jdbc
Modifier and TypeMethodDescriptionJdbcToArrowConfigBuilder.setAllocator
(BufferAllocator allocator) Sets the memory allocator to use when constructing the Arrow vectors from the ResultSet.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.setBigDecimalRoundingMode
(RoundingMode bigDecimalRoundingMode) Set the rounding mode used when the scale of the actual value does not match the declared scale.JdbcToArrowConfigBuilder.setCalendar
(Calendar calendar) Sets theCalendar
to use when constructing timestamp fields in the Arrow schema, and reading time-based fields from the JDBCResultSet
.JdbcToArrowConfigBuilder.setColumnMetadataByColumnIndex
(Map<Integer, Map<String, String>> columnMetadataByColumnIndex) Set metadata from columnIndex->meta map on per field basis.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.setIncludeMetadata
(boolean includeMetadata) Sets whether to include JDBC ResultSet field metadata in the Arrow Schema field metadata.JdbcToArrowConfigBuilder.setJdbcConsumerGetter
(JdbcToArrowConfig.JdbcConsumerFactory jdbcConsumerGetter) Set the function used to get a JDBC consumer for a given type.JdbcToArrowConfigBuilder.setJdbcToArrowTypeConverter
(Function<JdbcFieldInfo, ArrowType> jdbcToArrowTypeConverter) Set the function used to convert JDBC types to Arrow types.JdbcToArrowConfigBuilder.setReuseVectorSchemaRoot
(boolean reuseVectorSchemaRoot) Set whether to use the sameVectorSchemaRoot
instance on each iteration, or to allocate a new one.JdbcToArrowConfigBuilder.setSchemaMetadata
(Map<String, String> schemaMetadata) Set metadata for schema.JdbcToArrowConfigBuilder.setTargetBatchSize
(int targetBatchSize) Set the target number of rows to convert at once.