Package | Description |
---|---|
org.apache.arrow.adapter.jdbc |
Modifier and Type | Method and Description |
---|---|
JdbcToArrowConfig |
JdbcToArrowConfigBuilder.build()
|
Modifier and Type | Method and Description |
---|---|
JdbcConsumer |
JdbcToArrowConfig.JdbcConsumerFactory.apply(ArrowType arrowType,
int columnIndex,
boolean nullable,
FieldVector vector,
JdbcToArrowConfig config) |
static ArrowVectorIterator |
ArrowVectorIterator.create(ResultSet resultSet,
JdbcToArrowConfig config)
Create a ArrowVectorIterator to partially convert data.
|
static JdbcConsumer |
JdbcToArrowUtils.getConsumer(ArrowType arrowType,
int columnIndex,
boolean nullable,
FieldVector vector,
JdbcToArrowConfig config)
Default function used for JdbcConsumerFactory.
|
static Schema |
JdbcToArrowUtils.jdbcToArrowSchema(ResultSetMetaData rsmd,
JdbcToArrowConfig config)
Create Arrow
Schema object for the given JDBC ResultSetMetaData . |
static void |
JdbcToArrowUtils.jdbcToArrowVectors(ResultSet rs,
VectorSchemaRoot root,
JdbcToArrowConfig config)
Iterate the given JDBC
ResultSet object to fetch the data and transpose it to populate
the given Arrow Vector objects. |
static ArrowVectorIterator |
JdbcToArrow.sqlToArrowVectorIterator(ResultSet resultSet,
JdbcToArrowConfig config)
For the given JDBC
ResultSet , fetch the data from Relational DB and convert it to Arrow objects. |
Copyright © 2024 The Apache Software Foundation. All rights reserved.