public class Aggregator extends Object
| Constructor and Description |
|---|
Aggregator() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDivisor() |
Double |
getFactor() |
String |
getName() |
Double |
getPercentile() |
String |
getSampling() |
void |
setDivisor(Double divisor) |
void |
setFactor(Double factor) |
void |
setName(String name)
Set the name of this aggregator.
|
void |
setPercentile(Double percentile) |
void |
setSampling(String sampling) |
Aggregator |
withDivisor(double divisor) |
Aggregator |
withFactor(double factor) |
Aggregator |
withName(String name) |
Aggregator |
withPercentile(double percentile) |
Aggregator |
withSampling(String sampling) |
public String getName()
public void setName(String name)
TsdbConstantsname - should be one of the Avg, Dev, Count, First, Last, LeastSquares, Max, Min, Percentile, Sum, Diff, Div and Scale.public String getSampling()
public void setSampling(String sampling)
public Double getDivisor()
public void setDivisor(Double divisor)
public Double getPercentile()
public void setPercentile(Double percentile)
public Double getFactor()
public void setFactor(Double factor)
public Aggregator withName(String name)
public Aggregator withSampling(String sampling)
public Aggregator withDivisor(double divisor)
public Aggregator withPercentile(double percentile)
public Aggregator withFactor(double factor)
Copyright © 2016. All rights reserved.