| Package | Description |
|---|---|
| org.kairosdb.client.builder | |
| org.kairosdb.client.serializer |
| Modifier and Type | Method and Description |
|---|---|
static CustomAggregator |
AggregatorFactory.createCustomAggregator(String name,
String json)
Creates an aggregator with a custom json fragment.
|
static CustomAggregator |
AggregatorFactory.createDivAggregator(double divisor)
Creates an aggregator that divides each value by the divisor.
|
static CustomAggregator |
AggregatorFactory.createFilterAggregator(AggregatorFactory.FilterOperation operation,
double threshold)
Creates an aggregator that filters datapoints according to the filter operation.
|
static CustomAggregator |
AggregatorFactory.createSaveAsAggregator(String newMetricName)
Creates an aggregator that saves the results of the query to a new metric.
|
static CustomAggregator |
AggregatorFactory.createScaleAggregator(double factor)
Creates an aggregator that scales each data point by a factor.
|
static CustomAggregator |
AggregatorFactory.createSimpleMovingAverage(int numPeriods)
Creates an aggregator that calculates a simple moving average for the number of
specified periods.
|
static CustomAggregator |
AggregatorFactory.createTrimAggregator(AggregatorFactory.Trim trim)
Creates an aggregator that trim of the first, last, or both data points returned by the query.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
CustomAggregatorSerializer.serialize(CustomAggregator src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
Copyright © 2018. All rights reserved.