Class ResolvedMapColumn
java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.ResolvedColumn
org.apache.drill.exec.physical.impl.scan.project.ResolvedMapColumn
- All Implemented Interfaces:
ColumnProjection
Represents a column which is implicitly a map (because it has children
in the project list), but which does not match any column in the table.
This kind of column gives rise to a map of null columns in the output.
-
Constructor Summary
ConstructorDescriptionResolvedMapColumn
(ResolvedTuple parent, String name) ResolvedMapColumn
(ResolvedTuple parent, MaterializedField schema, int sourceIndex) -
Method Summary
Methods inherited from class org.apache.drill.exec.physical.impl.scan.project.ResolvedColumn
metadata, source, sourceIndex
-
Constructor Details
-
ResolvedMapColumn
-
ResolvedMapColumn
-
-
Method Details
-
parent
-
name
Description copied from interface:ColumnProjection
The name of the column as it appears in the output row (record batch.)- Returns:
- the output column name
-
members
-
project
- Overrides:
project
in classResolvedColumn
-
schema
Description copied from class:ResolvedColumn
Return the type of this column. Used primarily by the schema smoothing mechanism.- Specified by:
schema
in classResolvedColumn
- Returns:
- the MaterializedField representation of this column
-