@Internal public abstract class MapWriter<T> extends ArrowFieldWriter<T>
ArrowFieldWriter
for Map.Modifier and Type | Class and Description |
---|---|
static class |
MapWriter.MapWriterForArray
|
static class |
MapWriter.MapWriterForRow
|
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 MapWriter<ArrayData> |
forArray(org.apache.arrow.vector.complex.MapVector mapVector,
ArrowFieldWriter<ArrayData> keyWriter,
ArrowFieldWriter<ArrayData> valueWriter) |
static MapWriter<RowData> |
forRow(org.apache.arrow.vector.complex.MapVector mapVector,
ArrowFieldWriter<ArrayData> keyWriter,
ArrowFieldWriter<ArrayData> valueWriter) |
finish, getCount, getValueVector, reset, write
public static MapWriter<RowData> forRow(org.apache.arrow.vector.complex.MapVector mapVector, ArrowFieldWriter<ArrayData> keyWriter, ArrowFieldWriter<ArrayData> valueWriter)
public static MapWriter<ArrayData> forArray(org.apache.arrow.vector.complex.MapVector mapVector, ArrowFieldWriter<ArrayData> keyWriter, ArrowFieldWriter<ArrayData> valueWriter)
public void doWrite(T in, int ordinal)
ArrowFieldWriter
doWrite
in class ArrowFieldWriter<T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.