Class FieldsReWriterUtil.DesiredField

java.lang.Object
org.apache.drill.exec.planner.logical.FieldsReWriterUtil.DesiredField
Enclosing class:
FieldsReWriterUtil

public static class FieldsReWriterUtil.DesiredField extends Object
Holder class to store field information (name and type) with the list of nodes this field is used in. Primary used to hold information about new field during field re-write process.
  • Constructor Details

    • DesiredField

      public DesiredField(String name, org.apache.calcite.rel.type.RelDataType type, org.apache.calcite.rex.RexNode node)
  • Method Details

    • addNode

      public void addNode(org.apache.calcite.rex.RexNode originalNode)
    • getName

      public String getName()
    • getType

      public org.apache.calcite.rel.type.RelDataType getType()
    • getNodes

      public List<org.apache.calcite.rex.RexNode> getNodes()