Class AbstractUnresolvedColumn
java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.AbstractUnresolvedColumn
- All Implemented Interfaces:
ColumnProjection
- Direct Known Subclasses:
AbstractUnresolvedColumn.UnresolvedColumn
,AbstractUnresolvedColumn.UnresolvedWildcardColumn
,UnresolvedColumnsArrayColumn
Represents a projected column that has not yet been bound to a
table column, special column or a null column. Once bound, this
column projection is replaced with the detailed binding.
Occurs in a scan-level projection to identify columns needed in
the output batch. Once we see reader data, we create a
ResolvedColumn
to replace this unresolved form. The
resolved form identifies how to map data from its source (reader,
null column builder, etc.) to the output batch. Thus the columns
here are placeholders to be rewritten once more data is available.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents an unresolved table column to be provided by the reader (or filled in with nulls.) May be associated with a provided schema column.static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final RequestedColumn
The original physical plan column to which this output column maps. -
Constructor Summary
-
Method Summary
-
Field Details
-
inCol
The original physical plan column to which this output column maps. In some cases, multiple output columns map map the to the same "input" (to the projection process) column.
-
-
Constructor Details
-
AbstractUnresolvedColumn
-
-
Method Details
-
name
Description copied from interface:ColumnProjection
The name of the column as it appears in the output row (record batch.)- Specified by:
name
in interfaceColumnProjection
- Returns:
- the output column name
-
element
-
toString
-