Class BaseRequestedColumn

java.lang.Object
org.apache.drill.exec.physical.resultSet.project.BaseRequestedColumn
All Implemented Interfaces:
RequestedColumn
Direct Known Subclasses:
RequestedColumnImpl, RequestedWildcardColumn

public abstract class BaseRequestedColumn extends Object implements RequestedColumn
  • Constructor Details

  • Method Details

    • isRoot

      public boolean isRoot()
    • name

      public String name()
      Description copied from interface: RequestedColumn
      The column name as projected. If the same column appears multiple times (as in a[1], A[2], then the case of the first appearance is used.
      Specified by:
      name in interface RequestedColumn
      Returns:
      the column name as observed in the project list
    • fullName

      public String fullName()
      Description copied from interface: RequestedColumn
      Returns the fully-qualified column name. If the column is in the top-level tuple, this is the same as name(). If the column is nested in an array, then this name includes the enclosing columns: a.b.c.
      Specified by:
      fullName in interface RequestedColumn
      Returns:
      the full name with enclosing map prefixes, if any
    • buildName

      protected void buildName(StringBuilder buf)
    • nameEquals

      public boolean nameEquals(String target)
      Description copied from interface: RequestedColumn
      Case-insensitive comparison of the column name.
      Specified by:
      nameEquals in interface RequestedColumn