public class AvroToArrowVectorIterator extends Object implements Iterator<VectorSchemaRoot>, AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BATCH_SIZE |
static int |
NO_LIMIT_BATCH_SIZE |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Clean up resources.
|
static AvroToArrowVectorIterator |
create(org.apache.avro.io.Decoder decoder,
org.apache.avro.Schema schema,
AvroToArrowConfig 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, waitforEachRemaining, removepublic static final int NO_LIMIT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE
public static AvroToArrowVectorIterator create(org.apache.avro.io.Decoder decoder, org.apache.avro.Schema schema, AvroToArrowConfig config)
public boolean hasNext()
hasNext in interface Iterator<VectorSchemaRoot>public VectorSchemaRoot next()
next in interface Iterator<VectorSchemaRoot>public void close()
close in interface AutoCloseableCopyright © 2024 The Apache Software Foundation. All rights reserved.