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