Class MedianAggregationFunction

java.lang.Object
nz.org.riskscape.engine.rl.agg.ListCollecting
nz.org.riskscape.engine.rl.agg.MedianAggregationFunction
All Implemented Interfaces:
nz.org.riskscape.engine.rl.agg.AggregationFunction

public class MedianAggregationFunction extends ListCollecting
  • Constructor Details

    • MedianAggregationFunction

      public MedianAggregationFunction()
  • Method Details

    • buildProcessor

      protected ListCollecting.ListProcessor buildProcessor(nz.org.riskscape.engine.types.RSList listType, nz.org.riskscape.engine.rl.RealizationContext context, nz.org.riskscape.engine.types.Type inputType, nz.org.riskscape.rl.ast.FunctionCall fc) throws nz.org.riskscape.problem.ProblemException
      Description copied from class: ListCollecting

      Build a ListCollecting.ListProcessor that can produce the aggregated result.

      Specified by:
      buildProcessor in class ListCollecting
      Parameters:
      listType - type of the list that will be passed to built processor
      context - context to realize any other expressions with
      Returns:
      list processor to capable of producing aggregated result
      Throws:
      nz.org.riskscape.problem.ProblemException - with any problems encountered