Class DefaultReducer<Row,​Bin>

  • All Implemented Interfaces:
    Reducer<Row,​Bin>

    public class DefaultReducer<Row,​Bin>
    extends java.lang.Object
    implements Reducer<Row,​Bin>
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultReducer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double add​(gnu.trove.map.TObjectDoubleMap<Bin> sums, Bin bin, Row row)  
      java.lang.Number getNumber​(Row row)  
      double remove​(gnu.trove.map.TObjectDoubleMap<Bin> sums, Bin bin, Row row)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultReducer

        public DefaultReducer()
    • Method Detail

      • add

        public double add​(gnu.trove.map.TObjectDoubleMap<Bin> sums,
                          Bin bin,
                          Row row)
        Specified by:
        add in interface Reducer<Row,​Bin>
      • remove

        public double remove​(gnu.trove.map.TObjectDoubleMap<Bin> sums,
                             Bin bin,
                             Row row)
        Specified by:
        remove in interface Reducer<Row,​Bin>