protected static class MapWriter.DummyMapWriter 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 |
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, schema
addColumn, 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, writeIndex
protected DummyMapWriter(ColumnMetadata schema, List<AbstractObjectWriter> writers)
public boolean isProjected()
ColumnWriter
isProjected
in interface ColumnWriter
isProjected
in class AbstractTupleWriter
public void copy(ColumnReader from)
ColumnWriter
copy
in interface ColumnWriter
copy
in class AbstractTupleWriter
from
- reader to provide the dataCopyright © 1970 The Apache Software Foundation. All rights reserved.