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
Modifier and TypeFieldDescriptionprotected AbstractMapVector
protected AbstractMapVector
protected final ResolvedMapColumn
Fields inherited from class org.apache.drill.exec.physical.impl.scan.project.ResolvedTuple
binding, children, members, nullBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addVector
(ValueVector vector) buildMap()
protected abstract AbstractMapVector
createMap
(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:
addVector
in classResolvedTuple
-
vector
-
buildMap
-
createMap
protected abstract AbstractMapVector createMap(AbstractMapVector inputMap, MaterializedField create, BufferAllocator allocator) -
allocator
- Specified by:
allocator
in classResolvedTuple
-
name
- Specified by:
name
in classResolvedTuple
-