protected static class MapWriter.DummyMapWriter 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 |
DummyMapWriter(ColumnMetadata schema,
List<AbstractObjectWriter> writers) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(ColumnReader from)
Copy a single value from the given reader, which must be of the
same type as this writer.
|
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, bindIndex, bindListener, bindListener, column, column, 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 DummyMapWriter(ColumnMetadata schema, List<AbstractObjectWriter> writers)
public boolean isProjected()
ColumnWriterisProjected in interface ColumnWriterisProjected in class AbstractTupleWriterpublic void copy(ColumnReader from)
ColumnWritercopy in interface ColumnWritercopy in class AbstractTupleWriterfrom - reader to provide the dataCopyright © 2021 The Apache Software Foundation. All rights reserved.