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.SQLException
IOException
void close() throws Exception
close
in interface AutoCloseable
Exception
void resetValueVector(T vector)
Copyright © 2023 The Apache Software Foundation. All rights reserved.