@Internal public abstract class IntWriter<T> extends ArrowFieldWriter<T>
ArrowFieldWriter for Int.| Modifier and Type | Class and Description |
|---|---|
static class |
IntWriter.IntWriterForArray
IntWriter for ArrayData input. |
static class |
IntWriter.IntWriterForRow
IntWriter for RowData input. |
| Modifier and Type | Method and Description |
|---|---|
void |
doWrite(T in,
int ordinal)
Sets the field value as the field at the specified ordinal of the specified row.
|
static IntWriter<org.apache.flink.table.data.ArrayData> |
forArray(org.apache.arrow.vector.IntVector intVector) |
static IntWriter<org.apache.flink.table.data.RowData> |
forRow(org.apache.arrow.vector.IntVector intVector) |
finish, getCount, getValueVector, reset, writepublic static IntWriter<org.apache.flink.table.data.RowData> forRow(org.apache.arrow.vector.IntVector intVector)
public static IntWriter<org.apache.flink.table.data.ArrayData> forArray(org.apache.arrow.vector.IntVector intVector)
public void doWrite(T in, int ordinal)
ArrowFieldWriterdoWrite in class ArrowFieldWriter<T>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.