com.netflix.atlas.core.stacklang

Members list

Type members

Classlikes

case class Context(interpreter: Interpreter, stack: List[Any], variables: Map[String, Any], initialVariables: Map[String, Any], frozenStack: List[Any], features: Features, callDepth: Int)

State related to the execution of a stack language expression.

State related to the execution of a stack language expression.

Value parameters

features

Set of features that are permitted for the execution.

frozenStack

Separate stack that has been frozen to prevent further modification. See the :freeze operator for more information.

initialVariables

Initial set of variables used when beginning the execution. These values will be used when operations like :freeze need to reset the interpreter to the initial state.

interpreter

Interpreter that is performing the execution.

stack

Stack that maintains the state for the program.

variables

Variables that can be set to keep state outside of the main stack. See the :get and :set operators for more information.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Extractors

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Extractors.type
case class Interpreter(vocabulary: List[Word])

Interpreter for stack expressions.

Interpreter for stack expressions.

Value parameters

vocabulary

Set of supported words. If multiple words have the same name, then the first one that matches with the current stack will get used.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Interpreter

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait SimpleWord extends Word

Attributes

Supertypes
trait Word
class Object
trait Matchable
class Any
Known subtypes
trait CfWord
object CfAvg
object CfMax
object CfMin
object CfSum
trait DataWord
object All
object Count
object Max
object Min
object Sum
object GroupBy
object Offset
object TableWord
object Filter
class PriorityK
object Stat
trait StatWord
object StatAvg
object StatCount
object StatLast
object StatMax
object StatMin
object StatTotal
trait AggrWord
object Count
object Max
object Min
object Sum
object As
trait BinaryWord
object Add
object And
object Divide
object FAdd
object FDivide
object FMultiply
object FSubtract
object GreaterThan
object LessThan
object LessThanEqual
object Multiply
object Or
object Power
object Subtract
object ClampMax
object ClampMin
object CommonGroupBy
object CommonQuery
object Const
object GroupBy
object Percentiles
object Pi
object Random
object SeededRandom
object Time
trait UnaryWord
object Abs
object Negate
object PerStep
object Sine
object Sqrt
object And
object False
object HasKey
object In
trait KeyValueWord
object Contains
object Ends
object Equal
object GreaterThan
object LessThan
object LessThanEqual
object Regex
object Starts
object Not
object Or
object True
object Delay
object Derivative
object Des
object Integral
object RollingCount
object RollingMax
object RollingMean
object RollingMin
object RollingSum
object SlidingDes
object Trend
object Alpha
object Color
object Decode
object Offset
object Palette
trait StyleWord
object Axis
object Legend
object Limit
object LineStyle
object LineWidth
object Order
object Sort
object ChildWord
object SpanAndWord
object SpanOrWord
object Clear
object Depth
object Drop
object Dup
object Format
object NDrop
object NList
object Over
object Pick
object ReverseRot
object Roll
object Rot
object Swap
Show all

Attributes

Supertypes
trait Vocabulary
class Object
trait Matchable
class Any
Self type
trait Vocabulary

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Word

A small procedure that manipulates the stack.

A small procedure that manipulates the stack.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CustomAvg
object NamedRewrite
object SampleCount
object TimeSpan
object Filter
trait SimpleWord
trait CfWord
object CfAvg
object CfMax
object CfMin
object CfSum
trait DataWord
object All
object Count
object Max
object Min
object Sum
object GroupBy
object Offset
object TableWord
object Filter
class PriorityK
object Stat
trait StatWord
object StatAvg
object StatCount
object StatLast
object StatMax
object StatMin
object StatTotal
trait AggrWord
object Count
object Max
object Min
object Sum
object As
trait BinaryWord
object Add
object And
object Divide
object FAdd
object FDivide
object FMultiply
object FSubtract
object GreaterThan
object LessThan
object LessThanEqual
object Multiply
object Or
object Power
object Subtract
object ClampMax
object ClampMin
object CommonGroupBy
object CommonQuery
object Const
object GroupBy
object Percentiles
object Pi
object Random
object SeededRandom
object Time
trait UnaryWord
object Abs
object Negate
object PerStep
object Sine
object Sqrt
object And
object False
object HasKey
object In
trait KeyValueWord
object Contains
object Ends
object Equal
object GreaterThan
object LessThan
object LessThanEqual
object Regex
object Starts
object Not
object Or
object True
object Delay
object Derivative
object Des
object Integral
object RollingCount
object RollingMax
object RollingMean
object RollingMin
object RollingSum
object SlidingDes
object Trend
object Alpha
object Color
object Decode
object Offset
object Palette
trait StyleWord
object Axis
object Legend
object Limit
object LineStyle
object LineWidth
object Order
object Sort
object ChildWord
object SpanAndWord
object SpanOrWord
object Clear
object Depth
object Drop
object Dup
object Format
object NDrop
object NList
object Over
object Pick
object ReverseRot
object Roll
object Rot
object Swap
object Call
object Each
object Freeze
object Get
class Macro
object Map
object Set
object ToList
Show all