Class ResolvedTableColumn
java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.ResolvedColumn
org.apache.drill.exec.physical.impl.scan.project.ResolvedTableColumn
- All Implemented Interfaces:
ColumnProjection
- Direct Known Subclasses:
ResolvedColumnsArrayColumn
Column that matches one provided by the table. Provides the data type
of that column and information to project from the result set loader
output container to the scan output container. (Note that the result
set loader container is, itself, a projection from the actual table
schema to the desired set of columns; but in the order specified
by the table.)
-
Constructor Summary
ConstructorDescriptionResolvedTableColumn
(String projectedName, MaterializedField schema, VectorSource source, int sourceIndex) ResolvedTableColumn
(ColumnMetadata outputCol, VectorSource source, int sourceIndex) -
Method Summary
Methods inherited from class org.apache.drill.exec.physical.impl.scan.project.ResolvedColumn
metadata, project, source, sourceIndex
-
Constructor Details
-
ResolvedTableColumn
public ResolvedTableColumn(String projectedName, MaterializedField schema, VectorSource source, int sourceIndex) -
ResolvedTableColumn
-
-
Method Details
-
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
-
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
-
toString
-