@Internal public abstract class SmallIntWriter<T> extends ArrowFieldWriter<T>
ArrowFieldWriter
for SmallInt.Modifier and Type | Class and Description |
---|---|
static class |
SmallIntWriter.SmallIntWriterForArray
SmallIntWriter for ArrayData input. |
static class |
SmallIntWriter.SmallIntWriterForRow
SmallIntWriter 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 SmallIntWriter<ArrayData> |
forArray(org.apache.arrow.vector.SmallIntVector intVector) |
static SmallIntWriter<RowData> |
forRow(org.apache.arrow.vector.SmallIntVector intVector) |
finish, getCount, getValueVector, reset, write
public static SmallIntWriter<RowData> forRow(org.apache.arrow.vector.SmallIntVector intVector)
public static SmallIntWriter<ArrayData> forArray(org.apache.arrow.vector.SmallIntVector intVector)
public void doWrite(T in, int ordinal)
ArrowFieldWriter
doWrite
in class ArrowFieldWriter<T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.