net.opentsdb.core
public interface Aggregator
DataPoints together.
 
 All aggregators must be stateless.  All they can do is run through a
 sequence of Longs or Doubles and return an
 aggregated value.
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
Aggregator.Doubles
A sequence of  
doubles. | 
static interface  | 
Aggregator.Longs
A sequence of  
longs. | 
| Modifier and Type | Method and Description | 
|---|---|
Aggregators.Interpolation | 
interpolationMethod()
Returns the interpolation method to use when working with data points
 across time series. 
 | 
double | 
runDouble(Aggregator.Doubles values)
Aggregates a sequence of  
doubles. | 
long | 
runLong(Aggregator.Longs values)
Aggregates a sequence of  
longs. | 
long runLong(Aggregator.Longs values)
longs.values - The sequence to aggregate.double runDouble(Aggregator.Doubles values)
doubles.values - The sequence to aggregate.Aggregators.Interpolation interpolationMethod()