@Internal public final class RowRowWriter extends ArrowFieldWriter<org.apache.flink.types.Row>
ArrowFieldWriter for Row.| Constructor and Description |
|---|
RowRowWriter(org.apache.arrow.vector.complex.StructVector structVector,
ArrowFieldWriter<org.apache.flink.types.Row>[] fieldsWriters) |
| Modifier and Type | Method and Description |
|---|---|
void |
doWrite(org.apache.flink.types.Row value,
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 RowRowWriter(org.apache.arrow.vector.complex.StructVector structVector,
ArrowFieldWriter<org.apache.flink.types.Row>[] fieldsWriters)
public void doWrite(org.apache.flink.types.Row value,
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.