protected static class MapWriter.ArrayMapWriter extends MapWriter
MapWriter.ArrayMapWriter, MapWriter.DummyArrayMapWriter, MapWriter.DummyMapWriter, MapWriter.SingleMapWriterAbstractTupleWriter.TupleObjectWriter, AbstractTupleWriter.TupleWriterListenerTupleWriter.UndefinedColumnExceptionWriterEvents.ColumnWriterListener, WriterEvents.StatemapColumnSchemachildIndex, listener, logger, state, tupleSchema, vectorIndex, writers| Modifier | Constructor and Description |
|---|---|
protected |
ArrayMapWriter(ColumnMetadata schema,
List<AbstractObjectWriter> writers) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindIndex(ColumnWriterIndex index)
Bind the writer to a writer index.
|
boolean |
isProjected()
Whether this writer is projected (is backed by a materialized vector),
or is unprojected (is just a dummy writer.) In most cases, clients can
ignore whether the column is projected and just write to the writer.
|
buildMap, buildMapArray, buildMapWriter, buildMapWriter, schemaaddColumn, addColumn, addColumnWriter, array, array, bindIndex, bindListener, bindListener, column, column, copy, dict, dict, dump, endArrayValue, endWrite, isProjected, lastWriteIndex, listener, nullable, postRollover, preRollover, restartRow, rowStartIndex, saveRow, scalar, scalar, set, setNull, setObject, size, startRow, startWrite, tuple, tuple, tupleSchema, type, type, type, variant, variant, writeIndexprotected ArrayMapWriter(ColumnMetadata schema, List<AbstractObjectWriter> writers)
public void bindIndex(ColumnWriterIndex index)
WriterEventsbindIndex in interface WriterEventsbindIndex in class AbstractTupleWriterindex - the writer index (top level or nested for
arrays)public boolean isProjected()
ColumnWriterisProjected in interface ColumnWriterisProjected in class AbstractTupleWriterCopyright © 2021 The Apache Software Foundation. All rights reserved.