Class ResolvedColumn

java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.ResolvedColumn
All Implemented Interfaces:
ColumnProjection
Direct Known Subclasses:
MetadataColumn, ResolvedDictColumn, ResolvedMapColumn, ResolvedNullColumn, ResolvedTableColumn

public abstract class ResolvedColumn extends Object implements ColumnProjection
A resolved column has a name, and a specification for how to project data from a source vector to a vector in the final output container. Describes the projection of a single column from an input to an output batch.

Although the table schema mechanism uses the newer "metadata" mechanism, resolved columns revert back to the original

invalid reference
MajorType
and MaterializedField mechanism used by the rest of Drill. Doing so loses a bit of additional information, but at present there is no way to export that information along with a serialized record batch; each operator must rediscover it after deserialization.
  • Constructor Details Link icon

  • Method Details Link icon

    • source Link icon

      public VectorSource source()
    • sourceIndex Link icon

      public int sourceIndex()
    • metadata Link icon

      public ColumnMetadata metadata()
    • schema Link icon

      public abstract MaterializedField schema()
      Return the type of this column. Used primarily by the schema smoothing mechanism.
      Returns:
      the MaterializedField representation of this column
    • project Link icon

      public void project(ResolvedTuple dest)