public static < T extends Number > WithinGroup < T > percentileDisc ( Expression < T > arg ) { return new WithinGroup < T > ( arg . getType ( ) , SQLOps . PERCENTILEDISC , arg ) ; }
PERCENTILE_DISC is an inverse distribution function that assumes a discrete distribution model . It takes a percentile value and a sort specification and returns an element from the set . Nulls are ignored in the calculation .