Class TupleState.DictState
java.lang.Object
org.apache.drill.exec.physical.resultSet.impl.ContainerState
org.apache.drill.exec.physical.resultSet.impl.TupleState
org.apache.drill.exec.physical.resultSet.impl.TupleState.MapState
org.apache.drill.exec.physical.resultSet.impl.TupleState.DictState
- All Implemented Interfaces:
AbstractTupleWriter.TupleWriterListener
- Direct Known Subclasses:
TupleState.DictArrayState
,TupleState.SingleDictState
- Enclosing class:
- TupleState
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState
TupleState.DictArrayState, TupleState.DictArrayVectorState, TupleState.DictColumnState, TupleState.DictState, TupleState.DictVectorState<T extends ValueVector>, TupleState.MapArrayState, TupleState.MapColumnState, TupleState.MapState, TupleState.MapVectorState, TupleState.RowState, TupleState.SingleDictState, TupleState.SingleDictVectorState, TupleState.SingleMapState
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState
columns, outputSchema, schema
Fields inherited from class org.apache.drill.exec.physical.resultSet.impl.ContainerState
loader, parentColumn, projectionSet, vectorCache
-
Constructor Summary
ConstructorDescriptionDictState
(org.apache.drill.exec.physical.resultSet.impl.LoaderInternals events, ResultVectorCache vectorCache, ProjectionFilter projectionSet) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindColumnState
(ColumnState colState) void
dump
(HierarchicalFormatter format) protected boolean
A map is within a union if the map vector has been materialized.Methods inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState.MapState
addColumn, addOutputColumn, bindColumnState, innerCardinality
Methods inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState
addColumn, addColumn, bindOutputSchema, columns, columnStates, hasProjections, isProjected, outputSchema, schema, updateOutput, writer
Methods inherited from class org.apache.drill.exec.physical.resultSet.impl.ContainerState
addColumn, close, harvestWithLookAhead, loader, projection, rollover, startBatch, updateCardinality, vectorCache
-
Constructor Details
-
DictState
public DictState(org.apache.drill.exec.physical.resultSet.impl.LoaderInternals events, ResultVectorCache vectorCache, ProjectionFilter projectionSet)
-
-
Method Details
-
bindColumnState
- Overrides:
bindColumnState
in classContainerState
-
isVersioned
protected boolean isVersioned()Description copied from class:TupleState.MapState
A map is within a union if the map vector has been materialized. Top-level maps are built at harvest time. But, due to the complexity of unions, maps within unions are materialized. This method ensures that maps are materialized regardless of nesting depth within a union.- Overrides:
isVersioned
in classTupleState.MapState
- Returns:
true
if versioned
-
dump
- Overrides:
dump
in classTupleState.MapState
-