@Internal public final class RowArrayWriter extends ArrowFieldWriter<org.apache.flink.types.Row>
ArrowFieldWriter for Array.| Constructor and Description |
|---|
RowArrayWriter(org.apache.arrow.vector.complex.ListVector listVector,
ArrowFieldWriter<org.apache.flink.types.Row> elementWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
doWrite(org.apache.flink.types.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, writepublic RowArrayWriter(org.apache.arrow.vector.complex.ListVector listVector,
ArrowFieldWriter<org.apache.flink.types.Row> elementWriter)
public void doWrite(org.apache.flink.types.Row row,
int ordinal)
ArrowFieldWriterdoWrite in class ArrowFieldWriter<org.apache.flink.types.Row>public void finish()
ArrowFieldWriterfinish in class ArrowFieldWriter<org.apache.flink.types.Row>public void reset()
ArrowFieldWriterreset in class ArrowFieldWriter<org.apache.flink.types.Row>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.