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

public class ResolvedTableColumn extends ResolvedColumn
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 Details

  • Method Details

    • name

      public String 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

      public MaterializedField schema()
      Description copied from class: ResolvedColumn
      Return the type of this column. Used primarily by the schema smoothing mechanism.
      Specified by:
      schema in class ResolvedColumn
      Returns:
      the MaterializedField representation of this column
    • toString

      public String toString()
      Overrides:
      toString in class Object