Class DrillRelOptUtil.ProjectPushInfo

java.lang.Object
org.apache.drill.exec.planner.common.DrillRelOptUtil.ProjectPushInfo
Enclosing class:
DrillRelOptUtil

public static class DrillRelOptUtil.ProjectPushInfo extends Object
Stores information about fields, their names and types. Is responsible for creating mapper which used in field re-writer visitor.
  • Constructor Details

  • Method Details

    • getFields

      public List<SchemaPath> getFields()
    • getInputReWriter

      public FieldsReWriterUtil.FieldsReWriter getInputReWriter()
    • createNewRowType

      public org.apache.calcite.rel.type.RelDataType createNewRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory)
      Creates new row type based on stores types and field names.
      Parameters:
      factory - factory for data type descriptors.
      Returns:
      new row type