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