@Internal public final class RowArrayWriter extends ArrowFieldWriter<Row>
ArrowFieldWriter
for Array.Constructor and Description |
---|
RowArrayWriter(org.apache.arrow.vector.complex.ListVector listVector,
ArrowFieldWriter<Row> elementWriter) |
Modifier and Type | Method and Description |
---|---|
void |
doWrite(Row row,
int ordinal)
Sets the field value as the field at the specified ordinal of the specified row.
|
void |
finish()
Finishes the writing of the current row batch.
|
void |
reset()
Resets the state of the writer to write the next batch of fields.
|
getCount, getValueVector, write
public RowArrayWriter(org.apache.arrow.vector.complex.ListVector listVector, ArrowFieldWriter<Row> elementWriter)
public void doWrite(Row row, int ordinal)
ArrowFieldWriter
doWrite
in class ArrowFieldWriter<Row>
public void finish()
ArrowFieldWriter
finish
in class ArrowFieldWriter<Row>
public void reset()
ArrowFieldWriter
reset
in class ArrowFieldWriter<Row>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.