T - The vector within consumer or its delegate, used for partially consume purpose.public interface JdbcConsumer<T extends ValueVector> extends AutoCloseable
ResultSet.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this consumer, do some clean work such as clear reuse ArrowBuf.
|
void |
consume(ResultSet resultSet)
Consume a specific type value from
ResultSet and write it to vector. |
void |
resetValueVector(T vector)
Reset the vector within consumer for partial read purpose.
|
void consume(ResultSet resultSet) throws SQLException, IOException
ResultSet and write it to vector.SQLExceptionIOExceptionvoid close()
throws Exception
close in interface AutoCloseableExceptionvoid resetValueVector(T vector)
Copyright © 2024 The Apache Software Foundation. All rights reserved.