Class CollectListMapsAggFunction

java.lang.Object
org.apache.drill.exec.expr.fn.impl.CollectListMapsAggFunction
All Implemented Interfaces:
DrillAggFunc, DrillFunc

public class CollectListMapsAggFunction extends Object implements DrillAggFunc
Aggregate function which stores incoming fields into the map. This function accepts a variable number of arguments, where one argument is a field name within the resulting map and another argument is actual field to store into the map.
  • Constructor Details

    • CollectListMapsAggFunction

      public CollectListMapsAggFunction()
  • Method Details

    • setup

      public void setup()
      Description copied from interface: DrillAggFunc
      Initialization for the beginning of the aggregation.
      Specified by:
      setup in interface DrillAggFunc
    • add

      public void add()
      Specified by:
      add in interface DrillAggFunc
    • output

      public void output()
      Specified by:
      output in interface DrillAggFunc
    • reset

      public void reset()
      Specified by:
      reset in interface DrillAggFunc