object Aggregator
- Alphabetic
- By Inheritance
- Aggregator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Average(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
- case class Count(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
Counts the number of data points
- case class Diff() extends Aggregator with Product with Serializable
Computes the difference between successive data points
- case class Divide(divisor: Double) extends Aggregator with Product with Serializable
Returns each data point divided by a divisor.
Returns each data point divided by a divisor. Requires a “divisor” property which is the value that all data points will be divided by.
- case class Filter(operator: String, threshold: KairosCompatibleType) extends Aggregator with Product with Serializable
- case class First(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
Returns the first data point for the interval
- case class Gaps(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
Marks gaps in data according to sampling rate with a null data point
- case class Last(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
Returns the last data point for the interval
- case class LeastSquares(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
- case class Max(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
- case class Min(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
- case class Percentile(percentile: Double, sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
Finds the percentile of the data range.
Finds the percentile of the data range. Calculates a probability distribution and returns the specified percentile for the distribution.
- percentile
Defined as 0 < percentile <= 1 where .5 is 50% and 1 is 100%
- case class Rate(unit: TimeUnit, sampling: TimeRange, timezone: Option[String]) extends Aggregator with Product with Serializable
Returns the rate of change between a pair of data points.
Returns the rate of change between a pair of data points. Requires a “unit” property which is the sampling duration (ie rate in seconds, milliseconds, minutes, etc...).
- case class Sampler(unit: TimeUnit, timezone: Option[String]) extends Aggregator with Product with Serializable
Computes the sampling rate of change for the data points
Computes the sampling rate of change for the data points
- unit
Sets the sampling unit. If you set the unit to SECONDS then the sampling rate is over one second
- case class SaveAs(metricName: MetricName, tags: Seq[Tag], ttl: TimeRange) extends Aggregator with Product with Serializable
Saves the result to another metric.
Saves the result to another metric. Any data point with a unique tag value will also have that tag set. So if a data point is returned with tags
{"dc":["DC1"],"host":["hostA", "hostB"]}
only thedc
tag will be set when saved. If you do a group by query the group by tags are saved.- metricName
Metric name to save the results to.
- tags
Additional tags to set on the metrics {"tag1":"value1","tag2":"value2"}
- ttl
Sets the ttl on the newly saved metrics
- case class Scale(factor: Double) extends Aggregator with Product with Serializable
Scales each data point by a factor
- case class StandardDeviation(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
Computes standard deviation
- case class Sum(sampling: TimeRange, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable
Sums all value
- case class Trim(trimWhat: TrimWhat) extends Aggregator with Product with Serializable
Trims off the first, last or both data points for the interval.
Trims off the first, last or both data points for the interval. Useful in conjunction with the SaveAs aggregator to remove partial intervals.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Trim extends Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated