Class SchemaFunctions.SchemaFunction

java.lang.Object
org.apache.drill.exec.expr.fn.impl.SchemaFunctions.SchemaFunction
All Implemented Interfaces:
DrillAggFunc, DrillFunc
Enclosing class:
SchemaFunctions

public static class SchemaFunctions.SchemaFunction extends Object implements DrillAggFunc
Aggregate function which infers schema from incoming data and returns string representation of TupleMetadata with incoming schema.
  • Constructor Details

    • SchemaFunction

      public SchemaFunction()
  • 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