Object/Trait

io.waylay.kairosdb.driver.models

Aggregator

Related Docs: trait Aggregator | package models

Permalink

object Aggregator

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Aggregator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Average(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink
  2. case class Count(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink

    Counts the number of data points

  3. case class Diff() extends Aggregator with Product with Serializable

    Permalink

    Computes the difference between successive data points

  4. case class Divide(divisor: Double) extends Aggregator with Product with Serializable

    Permalink

    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.

  5. case class First(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink

    Returns the first data point for the interval

  6. case class Gaps(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink

    Marks gaps in data according to sampling rate with a null data point

  7. case class Last(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink

    Returns the last data point for the interval

  8. case class LeastSquares(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink
  9. case class Max(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink
  10. case class Min(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink
  11. case class Percentile(percentile: Double, sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink

    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%

  12. case class Rate(unit: TimeUnit, sampling: FiniteDuration, timezone: Option[String]) extends Aggregator with Product with Serializable

    Permalink

    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...).

  13. case class Sampler(unit: TimeUnit, timezone: Option[String]) extends Aggregator with Product with Serializable

    Permalink

    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

  14. case class SaveAs(metricName: MetricName, tags: Seq[Tag], ttl: FiniteDuration) extends Aggregator with Product with Serializable

    Permalink

    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 the dc 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

  15. case class Scale(factor: Double) extends Aggregator with Product with Serializable

    Permalink

    Scales each data point by a factor

  16. case class StandardDeviation(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink

    Computes standard deviation

  17. case class Sum(sampling: FiniteDuration, startTime: Option[AbsoluteStartTime] = None, align: Option[Align] = None, timeZone: Option[String] = None) extends RangeAggregator with Product with Serializable

    Permalink

    Sums all value

  18. case class Trim(trimWhat: TrimWhat) extends Aggregator with Product with Serializable

    Permalink

    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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Trim extends Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped