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