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, schemaFields inherited from class org.apache.drill.exec.physical.resultSet.impl.ContainerState
loader, parentColumn, projectionSet, vectorCache -
Constructor Summary
ConstructorsConstructorDescriptionDictState(org.apache.drill.exec.physical.resultSet.impl.LoaderInternals events, ResultVectorCache vectorCache, ProjectionFilter projectionSet) -
Method Summary
Modifier and TypeMethodDescriptionvoidbindColumnState(ColumnState colState) voiddump(HierarchicalFormatter format) protected booleanA 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, innerCardinalityMethods inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState
addColumn, addColumn, bindOutputSchema, columns, columnStates, hasProjections, isProjected, outputSchema, schema, updateOutput, writerMethods 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:
bindColumnStatein classContainerState
-
isVersioned
protected boolean isVersioned()Description copied from class:TupleState.MapStateA 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:
isVersionedin classTupleState.MapState- Returns:
trueif versioned
-
dump
- Overrides:
dumpin classTupleState.MapState
-