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() |
String |
getTimeUnit() |
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) |
void |
setTimeUnit(String timeUnit) |
Aggregator |
withDivisor(double divisor) |
Aggregator |
withFactor(double factor) |
Aggregator |
withName(String name) |
Aggregator |
withPercentile(double percentile) |
Aggregator |
withSampling(String sampling) |
Aggregator |
withTimeUnit(String timeUnit) |
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, Scale and Rate.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 String getTimeUnit()
public void setTimeUnit(String timeUnit)
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)
public Aggregator withTimeUnit(String timeUnit)
Copyright © 2024. All rights reserved.