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