org.rrd4j.data

## Class Aggregator

- java.lang.Object
- - org.rrd4j.data.Aggregator

-     class Aggregator
      extends Object

  Aggregates RRD data values over specified time periods.
  Provides statistical aggregation functions for time-series data with configurable time steps and value arrays.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Aggregator(long[] timestamps, double[] values)` Constructor for aggregator.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) double` | `getPercentile(long tStart, long tEnd, double percentile)` Calculates percentile value for data in time range.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Aggregator

          Aggregator(long[] timestamps,
                     double[] values)

      Constructor for aggregator.
      Parameters:
        `timestamps` - array of timestamps
        `values` - array of data values

  - ### Method Detail

    - #### getPercentile

          double getPercentile(long tStart,
                               long tEnd,
                               double percentile)

      Calculates percentile value for data in time range.
      Parameters:
        `tStart` - start time
        `tEnd` - end time
        `percentile` - percentile to calculate (0-100)
      Returns:
        percentile value