Class ResolvedTuple.ResolvedMap
java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.ResolvedTuple
org.apache.drill.exec.physical.impl.scan.project.ResolvedTuple.ResolvedMap
- All Implemented Interfaces:
VectorSource
- Direct Known Subclasses:
ResolvedTuple.ResolvedMapArray,ResolvedTuple.ResolvedSingleMap
- Enclosing class:
ResolvedTuple
Represents a map implied by the project list, whether or not the map
actually appears in the table schema.
The column is implied to be a map because it contains
children. This implementation builds the map and its children.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.physical.impl.scan.project.ResolvedTuple
ResolvedTuple.ResolvedDict, ResolvedTuple.ResolvedDictArray, ResolvedTuple.ResolvedMap, ResolvedTuple.ResolvedMapArray, ResolvedTuple.ResolvedRow, ResolvedTuple.ResolvedSingleDict, ResolvedTuple.ResolvedSingleMap -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractMapVectorprotected AbstractMapVectorprotected final ResolvedMapColumnFields inherited from class org.apache.drill.exec.physical.impl.scan.project.ResolvedTuple
binding, children, members, nullBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVector(ValueVector vector) buildMap()protected abstract AbstractMapVectorcreateMap(AbstractMapVector inputMap, MaterializedField create, BufferAllocator allocator) name()vector(int index) Methods inherited from class org.apache.drill.exec.physical.impl.scan.project.ResolvedTuple
add, addChild, buildColumns, buildNulls, cascadeRowCount, close, columns, innerCardinality, isSimpleProjection, loadNulls, nullBuilder, removeChild, reset, setRowCount
-
Field Details
-
parentColumn
-
inputMap
-
outputMap
-
-
Constructor Details
-
ResolvedMap
-
-
Method Details
-
addVector
- Specified by:
addVectorin classResolvedTuple
-
vector
-
buildMap
-
createMap
protected abstract AbstractMapVector createMap(AbstractMapVector inputMap, MaterializedField create, BufferAllocator allocator) -
allocator
- Specified by:
allocatorin classResolvedTuple
-
name
- Specified by:
namein classResolvedTuple
-