public abstract class ArrayConsumer extends BaseConsumer<ListVector>
ResultSet.
Write the data to ListVector.| Modifier and Type | Field and Description |
|---|---|
protected JdbcConsumer |
delegate |
protected int |
innerVectorIndex |
columnIndexInResultSet, currentIndex, vector| Constructor and Description |
|---|
ArrayConsumer(ListVector vector,
JdbcConsumer delegate,
int index)
Instantiate a ArrayConsumer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this consumer, do some clean work such as clear reuse ArrowBuf.
|
static ArrayConsumer |
createConsumer(ListVector vector,
JdbcConsumer delegate,
int index,
boolean nullable)
Creates a consumer for
ListVector. |
void |
resetValueVector(ListVector vector)
Reset the vector within consumer for partial read purpose.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconsumeprotected final JdbcConsumer delegate
protected int innerVectorIndex
public ArrayConsumer(ListVector vector, JdbcConsumer delegate, int index)
public static ArrayConsumer createConsumer(ListVector vector, JdbcConsumer delegate, int index, boolean nullable)
ListVector.public void close()
throws Exception
JdbcConsumerclose in interface AutoCloseableclose in interface JdbcConsumer<ListVector>close in class BaseConsumer<ListVector>Exceptionpublic void resetValueVector(ListVector vector)
JdbcConsumerresetValueVector in interface JdbcConsumer<ListVector>resetValueVector in class BaseConsumer<ListVector>Copyright © 2024 The Apache Software Foundation. All rights reserved.