public class ArrowVectorIterator extends Object implements Iterator<VectorSchemaRoot>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Clean up resources.
|
static ArrowVectorIterator |
create(ResultSet resultSet,
JdbcToArrowConfig config)
Create a ArrowVectorIterator to partially convert data.
|
boolean |
hasNext() |
VectorSchemaRoot |
next()
Gets the next vector.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public static ArrowVectorIterator create(ResultSet resultSet, JdbcToArrowConfig config) throws SQLException
SQLException
public boolean hasNext()
hasNext
in interface Iterator<VectorSchemaRoot>
public VectorSchemaRoot next()
JdbcToArrowConfig.isReuseVectorSchemaRoot()
is false,
the client is responsible for freeing its resources.next
in interface Iterator<VectorSchemaRoot>
public void close()
close
in interface AutoCloseable
Copyright © 2022 The Apache Software Foundation. All rights reserved.