Class Percentile


@JsType(namespace="dh.agg") public final class Percentile extends ColumnAggregation
Computes an exact percentile within each aggregation group.
  • Field Details

    • type

      @TsLiteral public final @TsLiteral String type
      See Also:
    • percentile

      public double percentile
      The percentile to calculate. Must be in the range [0.0, 1.0].
    • averageEvenlyDivided

      public @JsNullable Boolean averageEvenlyDivided
      When the percentile splits the group into two equal halves, whether to average the two middle values. When true, the two middle values are averaged. When false, the larger value is used. Only int, long, float and double columns are averaged, int and long into a double; other types use the larger value. Defaults to false.
  • Constructor Details

    • Percentile

      public Percentile()