Class TinyIntWriter<T>
- java.lang.Object
-
- org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter<T>
-
- org.apache.flink.table.runtime.arrow.writers.TinyIntWriter<T>
-
- Direct Known Subclasses:
TinyIntWriter.TinyIntWriterForArray,TinyIntWriter.TinyIntWriterForRow
@Internal public abstract class TinyIntWriter<T> extends ArrowFieldWriter<T>
ArrowFieldWriterfor TinyInt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTinyIntWriter.TinyIntWriterForArrayTinyIntWriterforArrayDatainput.static classTinyIntWriter.TinyIntWriterForRowTinyIntWriterforRowDatainput.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoWrite(T in, int ordinal)Sets the field value as the field at the specified ordinal of the specified row.static TinyIntWriter<org.apache.flink.table.data.ArrayData>forArray(org.apache.arrow.vector.TinyIntVector tinyIntVector)static TinyIntWriter<org.apache.flink.table.data.RowData>forRow(org.apache.arrow.vector.TinyIntVector tinyIntVector)-
Methods inherited from class org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter
finish, getCount, getValueVector, reset, write
-
-
-
-
Method Detail
-
forRow
public static TinyIntWriter<org.apache.flink.table.data.RowData> forRow(org.apache.arrow.vector.TinyIntVector tinyIntVector)
-
forArray
public static TinyIntWriter<org.apache.flink.table.data.ArrayData> forArray(org.apache.arrow.vector.TinyIntVector tinyIntVector)
-
doWrite
public void doWrite(T in, int ordinal)
Description copied from class:ArrowFieldWriterSets the field value as the field at the specified ordinal of the specified row.- Specified by:
doWritein classArrowFieldWriter<T>
-
-