Class Percentile

  • All Implemented Interfaces:
    Filter

    public class Percentile
    extends java.lang.Object
    implements Filter
    Calculates the percentile of a column and stores it as a constant in another.
    Author:
    jwhite
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Percentile()  
        Percentile​(java.lang.String inputColumn, java.lang.String outputColumn, double quantile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(com.google.common.collect.RowSortedTable<java.lang.Long,​java.lang.String,​java.lang.Double> qrAsTable)  
      • Methods inherited from class java.lang.Object

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

      • Percentile

        protected Percentile()
      • Percentile

        public Percentile​(java.lang.String inputColumn,
                          java.lang.String outputColumn,
                          double quantile)
    • Method Detail

      • filter

        public void filter​(com.google.common.collect.RowSortedTable<java.lang.Long,​java.lang.String,​java.lang.Double> qrAsTable)
        Specified by:
        filter in interface Filter