Class SmallIntWriter<T>
- java.lang.Object
-
- org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter<T>
-
- org.apache.flink.table.runtime.arrow.writers.SmallIntWriter<T>
-
- Direct Known Subclasses:
SmallIntWriter.SmallIntWriterForArray
,SmallIntWriter.SmallIntWriterForRow
@Internal public abstract class SmallIntWriter<T> extends ArrowFieldWriter<T>
ArrowFieldWriter
for SmallInt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SmallIntWriter.SmallIntWriterForArray
SmallIntWriter
forArrayData
input.static class
SmallIntWriter.SmallIntWriterForRow
SmallIntWriter
forRowData
input.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doWrite(T in, int ordinal)
Sets the field value as the field at the specified ordinal of the specified row.static SmallIntWriter<org.apache.flink.table.data.ArrayData>
forArray(org.apache.arrow.vector.SmallIntVector intVector)
static SmallIntWriter<org.apache.flink.table.data.RowData>
forRow(org.apache.arrow.vector.SmallIntVector intVector)
-
Methods inherited from class org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter
finish, getCount, getValueVector, reset, write
-
-
-
-
Method Detail
-
forRow
public static SmallIntWriter<org.apache.flink.table.data.RowData> forRow(org.apache.arrow.vector.SmallIntVector intVector)
-
forArray
public static SmallIntWriter<org.apache.flink.table.data.ArrayData> forArray(org.apache.arrow.vector.SmallIntVector intVector)
-
doWrite
public void doWrite(T in, int ordinal)
Description copied from class:ArrowFieldWriter
Sets the field value as the field at the specified ordinal of the specified row.- Specified by:
doWrite
in classArrowFieldWriter<T>
-
-