Class TupleState.MapState

All Implemented Interfaces:
AbstractTupleWriter.TupleWriterListener
Direct Known Subclasses:
TupleState.DictState, TupleState.MapArrayState, TupleState.SingleMapState
Enclosing class:
TupleState

public abstract static class TupleState.MapState extends TupleState
Represents a tuple defined as a Drill map: single or repeated. Note that the map vector does not exist here; it is assembled only when "harvesting" a batch. This design supports the obscure case in which a new column is added during an overflow row, so exists within this abstraction, but is not published to the map that makes up the output.

The map state is associated with a map vector. This vector is built either during harvest time (normal maps) or on the fly (union maps.)