Class DateWriter<T>
java.lang.Object
org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter<T>
org.apache.flink.table.runtime.arrow.writers.DateWriter<T>
- Direct Known Subclasses:
DateWriter.DateWriterForArray,DateWriter.DateWriterForRow
ArrowFieldWriter for Date.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDateWriterforArrayDatainput.static final classDateWriterforRowDatainput. -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the field value as the field at the specified ordinal of the specified row.static DateWriter<org.apache.flink.table.data.ArrayData>forArray(org.apache.arrow.vector.DateDayVector dateDayVector) static DateWriter<org.apache.flink.table.data.RowData>forRow(org.apache.arrow.vector.DateDayVector dateDayVector) Methods inherited from class org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter
finish, getCount, getValueVector, reset, write
-
Method Details
-
forRow
public static DateWriter<org.apache.flink.table.data.RowData> forRow(org.apache.arrow.vector.DateDayVector dateDayVector) -
forArray
public static DateWriter<org.apache.flink.table.data.ArrayData> forArray(org.apache.arrow.vector.DateDayVector dateDayVector) -
doWrite
Description copied from class:ArrowFieldWriterSets the field value as the field at the specified ordinal of the specified row.- Specified by:
doWritein classArrowFieldWriter<T>
-