protected static class MapWriter.ArrayMapWriter extends MapWriter
MapWriter.ArrayMapWriter, MapWriter.DummyArrayMapWriter, MapWriter.DummyMapWriter, MapWriter.SingleMapWriter
AbstractTupleWriter.TupleObjectWriter, AbstractTupleWriter.TupleWriterListener
TupleWriter.UndefinedColumnException
WriterEvents.ColumnWriterListener, WriterEvents.State
mapColumnSchema
childIndex, 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, schema
addColumn, 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, writeIndex
protected ArrayMapWriter(ColumnMetadata schema, List<AbstractObjectWriter> writers)
public void bindIndex(ColumnWriterIndex index)
WriterEvents
bindIndex
in interface WriterEvents
bindIndex
in class AbstractTupleWriter
index
- the writer index (top level or nested for
arrays)public boolean isProjected()
ColumnWriter
isProjected
in interface ColumnWriter
isProjected
in class AbstractTupleWriter
Copyright © 1970 The Apache Software Foundation. All rights reserved.