CustomAvg

com.netflix.atlas.core.model.CustomVocabulary.CustomAvg
case class CustomAvg(name: String, baseQuery: Query, keys: Set[String]) extends Word, (Expr, List[String]) => Expr

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait (Expr, List[String]) => Expr
trait Word
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(expr: Expr, ks: List[String]): Expr

Function used for the group by rewrite, see MathExpr.NamedRewrite for more details. It is done this way to allow the equality check to work correctly as it will be based on this word rather than a generated function class.

Function used for the group by rewrite, see MathExpr.NamedRewrite for more details. It is done this way to allow the equality check to work correctly as it will be based on this word rather than a generated function class.

Attributes

override def examples: List[String]

Set of examples showing the usage of the word.

Set of examples showing the usage of the word.

Attributes

Definition Classes
def execute(context: Context): Context

Execute this command against the provided context.

Execute this command against the provided context.

Attributes

def matches(stack: List[Any]): Boolean

Check if the this word can be executed against the current stack. Can be used as a basis for finding auto-completion candidates.

Check if the this word can be executed against the current stack. Can be used as a basis for finding auto-completion candidates.

Attributes

override def signature: String

Signature of the method showing the before and after effect on the stack.

Signature of the method showing the before and after effect on the stack.

Attributes

Definition Classes
override def summary: String

Short description of the word to help the user understand what it does.

Short description of the word to help the user understand what it does.

Attributes

Definition Classes

Inherited methods

def curried: Expr => List[String] => Expr

Attributes

Inherited from:
Function2
protected def invalidStack: Nothing

Throw an exception to indicate an invalid stack was passed into the execution.

Throw an exception to indicate an invalid stack was passed into the execution.

Attributes

Inherited from:
Word
def isStable: Boolean

Returns true if this operation is considered stable. New operations should override this method to return false until the API is finalized.

Returns true if this operation is considered stable. New operations should override this method to return false until the API is finalized.

Attributes

Inherited from:
Word
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
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
Function2 -> Any
Inherited from:
Function2
def tupled: ((Expr, List[String])) => Expr

Attributes

Inherited from:
Function2