Class

com.netflix.atlas.core.model.DataExpr

Sum

Related Doc: package DataExpr

Permalink

case class Sum(query: Query, cf: SumOrAvgCf = ConsolidationFunction.Avg, offset: Duration = Duration.ZERO) extends AggregateFunction with Product with Serializable

Linear Supertypes
Serializable, Serializable, AggregateFunction, (Double, Double) ⇒ Double, DataExpr, TimeSeriesExpr, Expr, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sum
  2. Serializable
  3. Serializable
  4. AggregateFunction
  5. Function2
  6. DataExpr
  7. TimeSeriesExpr
  8. Expr
  9. Product
  10. Equals
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sum(query: Query, cf: SumOrAvgCf = ConsolidationFunction.Avg, offset: Duration = Duration.ZERO)

    Permalink

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. def apply(v1: Double, v2: Double): Double

    Permalink
    Definition Classes
    Sum → Function2
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val cf: SumOrAvgCf

    Permalink
    Definition Classes
    SumDataExpr
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. def commonTags(tags: Map[String, String]): Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    DataExpr
  9. def consolidate(step: Long, ts: List[TimeSeries]): List[TimeSeries]

    Permalink
    Attributes
    protected
    Definition Classes
    DataExpr
  10. def curried: (Double) ⇒ (Double) ⇒ Double

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  11. def dataExprs: List[DataExpr]

    Permalink

    The underlying data expressions that supply input for the evaluation.

    The underlying data expressions that supply input for the evaluation. These are used to fetch data from the data stores. There may be some expressions types that generate data and will have an empty set. Examples are constants, random, or time.

    Definition Classes
    DataExprTimeSeriesExpr
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def eval(context: EvalContext, data: List[TimeSeries]): ResultSet

    Permalink
    Definition Classes
    AggregateFunctionTimeSeriesExpr
  14. def eval(context: EvalContext, data: Map[DataExpr, List[TimeSeries]]): ResultSet

    Permalink
    Definition Classes
    DataExprTimeSeriesExpr
  15. def exprString: String

    Permalink

    Returns a string that can be executed with the stack interpreter to create this expression.

    Returns a string that can be executed with the stack interpreter to create this expression.

    Definition Classes
    SumDataExprExpr
  16. def finalGrouping: List[String]

    Permalink

    Returns the final grouping for the expression.

    Returns the final grouping for the expression. For non-grouped expressions this will be an empty list. If a multi-level group by is used, then this will return the grouping of the final result and ignore any intermediate groupings.

    Definition Classes
    DataExprTimeSeriesExpr
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def groupByKey(tags: Map[String, String]): Option[String]

    Permalink

    Returns the grouping key generated for a given tag map.

    Returns the grouping key generated for a given tag map. All keys for the group by must be present in the map.

    Definition Classes
    DataExprTimeSeriesExpr
  19. def isGrouped: Boolean

    Permalink

    Returns true if the result is grouped.

    Returns true if the result is grouped. See GroupBy operators.

    Definition Classes
    DataExprTimeSeriesExpr
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def labelString: String

    Permalink
    Definition Classes
    SumAggregateFunction
  22. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. val offset: Duration

    Permalink
    Definition Classes
    SumDataExpr
  26. val query: Query

    Permalink
    Definition Classes
    SumDataExpr
  27. def rewrite(f: PartialFunction[Expr, Expr]): Expr

    Permalink

    Rewrite the expression using the specified function.

    Rewrite the expression using the specified function. The default implementation will try to recursively apply the rewrite to case classes.

    Definition Classes
    Expr
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AggregateFunction → Function2 → DataExpr → AnyRef → Any
  30. def tupled: ((Double, Double)) ⇒ Double

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  31. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withConsolidation(f: ConsolidationFunction): AggregateFunction

    Permalink
    Definition Classes
    SumAggregateFunction
  35. def withOffset(d: Duration): Sum

    Permalink

    Apply a time shift to all underlying data expressions.

    Apply a time shift to all underlying data expressions.

    Definition Classes
    SumTimeSeriesExpr

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from AggregateFunction

Inherited from (Double, Double) ⇒ Double

Inherited from DataExpr

Inherited from TimeSeriesExpr

Inherited from Expr

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped