Consolidation

com.netflix.atlas.core.model.DataExpr.Consolidation

Attributes

Graph
Supertypes
trait Serializable
trait DataExpr
trait Expr
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def aggregator(start: Long, end: Long): Aggregator

Attributes

Definition Classes
override def eval(context: EvalContext, data: List[TimeSeries]): ResultSet

Attributes

Definition Classes
override def exprString: String

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.

Attributes

Definition Classes
override def labelString: String

Attributes

Definition Classes
def offset: Duration
def query: Query

Attributes

Definition Classes
override def withOffset(d: Duration): Consolidation

Apply a time shift to all underlying data expressions.

Apply a time shift to all underlying data expressions.

Attributes

Definition Classes

Inherited methods

def dataExprs: List[DataExpr]

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.

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.

Attributes

Inherited from:
DataExpr
def eval(context: EvalContext, data: Map[DataExpr, List[TimeSeries]]): ResultSet

Attributes

Inherited from:
DataExpr
def finalGrouping: List[String]

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.

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.

Attributes

Inherited from:
DataExpr
def groupByKey(tags: Map[String, String]): Option[String]

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

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

Attributes

Inherited from:
DataExpr
def isGrouped: Boolean

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

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

Attributes

Inherited from:
DataExpr
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def rewrite(f: PartialFunction[Expr, Expr]): Expr

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

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

Attributes

Inherited from:
Expr
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
DataExpr -> Any
Inherited from:
DataExpr

Inherited fields

override val hashCode: Int

Hash code is cached to allow cheaper lookup during evaluation. This implementation in the base interface depends on the main fields of the case class being set prior to super() being called in the case class constructor. That appears to be the case with current scala versions.

Hash code is cached to allow cheaper lookup during evaluation. This implementation in the base interface depends on the main fields of the case class being set prior to super() being called in the case class constructor. That appears to be the case with current scala versions.

Attributes

Inherited from:
DataExpr