A block representing a set of aggregates computed by rolling up a metric.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MutableBlocktrait Blockclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Number of bytes required to store this block in a simple binary representation.
Number of bytes required to store this block in a simple binary representation.
Attributes
Return the value for a given position in the block. All implementations should make this a constant time operation.
Return the value for a given position in the block. All implementations should make this a constant time operation.
Value parameters
- pos
-
position to read, value should be in the interval [0,size).
Attributes
Return the value for a given position in the block. All implementations should make this a constant time operation. The default implementation assumes a single value.
Return the value for a given position in the block. All implementations should make this a constant time operation. The default implementation assumes a single value.
Value parameters
- aggr
-
the aggregate value to read from the block
- pos
-
position to read, value should be in the interval [0,size).
Attributes
- Definition Classes
Reset this block so it can be re-used.
Reset this block so it can be re-used.
Attributes
Number of data points to store in the block.
Number of data points to store in the block.
Attributes
Start time for the block (epoch in milliseconds).
Start time for the block (epoch in milliseconds).
Attributes
Update the value for the specified position.
Update the value for the specified position.
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Used to get a quick estimate of the size of numeric primatives and arrays of numeric primitives.
Used to get a quick estimate of the size of numeric primatives and arrays of numeric primitives.
Attributes
- Inherited from:
- Block
Returns a copy of the block as a simple array-backed block.