SparseBlock

com.netflix.atlas.core.model.SparseBlock
See theSparseBlock companion class
object SparseBlock

Constants used for sparse blocks. Common values that are often repeated are special cased to further reduce storage. In particular the values for NaN, 0, and 1 are not stored.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def get(pos: Int, values: Array[Double]): Double

Returns the value for a

Returns the value for a

Attributes

def predefinedIndex(value: Double): Int

Returns the predefined index for the value, or 0 if it is not predefined.

Returns the predefined index for the value, or 0 if it is not predefined.

Attributes

Concrete fields

final val NOT_FOUND: -4
final val NaN: -3
final val ONE: -1
final val UNDEFINED: 0
final val ZERO: -2