protected static class MapWriter.SingleMapWriter 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 |
SingleMapWriter(ColumnMetadata schema,
MapVector vector,
List<AbstractObjectWriter> writers) |
Modifier and Type | Method and Description |
---|---|
void |
endWrite()
End a batch: finalize any vector values.
|
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.
|
void |
preRollover()
The vectors backing this vector are about to roll over.
|
buildMap, buildMapArray, buildMapWriter, buildMapWriter, schema
addColumn, addColumn, addColumnWriter, array, array, bindIndex, bindIndex, bindListener, bindListener, column, column, copy, dict, dict, dump, endArrayValue, isProjected, lastWriteIndex, listener, nullable, postRollover, restartRow, rowStartIndex, saveRow, scalar, scalar, set, setNull, setObject, size, startRow, startWrite, tuple, tuple, tupleSchema, type, type, type, variant, variant, writeIndex
protected SingleMapWriter(ColumnMetadata schema, MapVector vector, List<AbstractObjectWriter> writers)
public void endWrite()
WriterEvents
endWrite
in interface WriterEvents
endWrite
in class AbstractTupleWriter
public void preRollover()
WriterEvents
preRollover
in interface WriterEvents
preRollover
in class AbstractTupleWriter
public boolean isProjected()
ColumnWriter
isProjected
in interface ColumnWriter
isProjected
in class AbstractTupleWriter
Copyright © 1970 The Apache Software Foundation. All rights reserved.