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.
  • Method Details

    • 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 class ArrowFieldWriter<T>