IN
- Type of the row to write.@Internal public abstract class ArrowFieldWriter<IN> extends Object
Constructor and Description |
---|
ArrowFieldWriter(org.apache.arrow.vector.ValueVector valueVector) |
Modifier and Type | Method and Description |
---|---|
abstract void |
doWrite(IN 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.
|
int |
getCount()
Returns the current count of elements written.
|
org.apache.arrow.vector.ValueVector |
getValueVector()
Returns the underlying container which stores the sequence of values of a column.
|
void |
reset()
Resets the state of the writer to write the next batch of fields.
|
void |
write(IN row,
int ordinal)
Writes the specified ordinal of the specified row.
|
public ArrowFieldWriter(org.apache.arrow.vector.ValueVector valueVector)
public org.apache.arrow.vector.ValueVector getValueVector()
public int getCount()
public abstract void doWrite(IN row, int ordinal)
public void write(IN row, int ordinal)
public void finish()
public void reset()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.