Class MapWriter.DummyArrayMapWriter
java.lang.Object
org.apache.drill.exec.vector.accessor.writer.AbstractTupleWriter
org.apache.drill.exec.vector.accessor.writer.MapWriter
org.apache.drill.exec.vector.accessor.writer.MapWriter.DummyArrayMapWriter
- All Implemented Interfaces:
ColumnWriter,TupleWriter,WriterEvents,WriterPosition
- Enclosing class:
MapWriter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.vector.accessor.writer.MapWriter
MapWriter.ArrayMapWriter, MapWriter.DummyArrayMapWriter, MapWriter.DummyMapWriter, MapWriter.SingleMapWriterNested classes/interfaces inherited from class org.apache.drill.exec.vector.accessor.writer.AbstractTupleWriter
AbstractTupleWriter.TupleObjectWriter, AbstractTupleWriter.TupleWriterListenerNested classes/interfaces inherited from interface org.apache.drill.exec.vector.accessor.TupleWriter
TupleWriter.UndefinedColumnExceptionNested classes/interfaces inherited from interface org.apache.drill.exec.vector.accessor.writer.WriterEvents
WriterEvents.ColumnWriterListener, WriterEvents.State -
Field Summary
Fields inherited from class org.apache.drill.exec.vector.accessor.writer.MapWriter
mapColumnSchemaFields inherited from class org.apache.drill.exec.vector.accessor.writer.AbstractTupleWriter
childIndex, listener, logger, state, tupleSchema, vectorIndex, writers -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDummyArrayMapWriter(ColumnMetadata schema, List<AbstractObjectWriter> writers) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(ColumnReader from) Copy a single value from the given reader, which must be of the same type as this writer.booleanWhether 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.Methods inherited from class org.apache.drill.exec.vector.accessor.writer.MapWriter
buildMap, buildMapArray, buildMapWriter, buildMapWriter, schemaMethods inherited from class org.apache.drill.exec.vector.accessor.writer.AbstractTupleWriter
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
-
Constructor Details
-
DummyArrayMapWriter
-
-
Method Details
-
isProjected
public boolean isProjected()Description copied from interface:ColumnWriterWhether 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. This flag handles those special cases where it is helpful to know if the column is projected or not.- Specified by:
isProjectedin interfaceColumnWriter- Overrides:
isProjectedin classAbstractTupleWriter
-
copy
Description copied from interface:ColumnWriterCopy a single value from the given reader, which must be of the same type as this writer.- Specified by:
copyin interfaceColumnWriter- Overrides:
copyin classAbstractTupleWriter- Parameters:
from- reader to provide the data
-