net.opentsdb.core
public final class Aggregators extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Aggregators.Interpolation
Different interpolation methods
|
Modifier and Type | Field and Description |
---|---|
static Aggregator |
AVG
Aggregator that returns the average value of the data point.
|
static Aggregator |
DEV
Aggregator that returns the Standard Deviation of the data points.
|
static Aggregator |
MAX
Aggregator that returns the maximum data point.
|
static Aggregator |
MIMMAX
Returns the maximum data point, causing SpanGroup to set
|
static Aggregator |
MIMMIN
Returns the minimum data point, causing SpanGroup to set
|
static Aggregator |
MIN
Aggregator that returns the minimum data point.
|
static Aggregator |
SUM
Aggregator that sums up all the data points.
|
static Aggregator |
ZIMSUM
Sums data points but will cause the SpanGroup to return a 0 if timesamps
don't line up instead of interpolating.
|
public static final Aggregator SUM
public static final Aggregator MIN
public static final Aggregator MAX
public static final Aggregator AVG
public static final Aggregator DEV
public static final Aggregator ZIMSUM
public static final Aggregator MIMMIN
public static final Aggregator MIMMAX
public static Aggregator get(String name)
name
- The name of the aggregator to get.NoSuchElementException
- if the given name doesn't exist.set()