Class FieldsReWriterUtil

java.lang.Object
org.apache.drill.exec.planner.logical.FieldsReWriterUtil

public class FieldsReWriterUtil extends Object
  • Constructor Details

    • FieldsReWriterUtil

      public FieldsReWriterUtil()
  • Method Details

    • getFieldNameFromItemStarField

      public static String getFieldNameFromItemStarField(org.apache.calcite.rex.RexCall rexCall, List<String> fieldNames)
      Checks if operator call is using item star field. Will return field name if true. null otherwise.
      Parameters:
      rexCall - operator call
      fieldNames - list of field names
      Returns:
      field name, null otherwise