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.
Return the value for a given position in the block.
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.
position to read, value should be in the interval [0,size).
the aggregate value to read from the block
Return the value for a given position in the block.
Return the value for a given position in the block. All implementations should make this a constant time operation.
position to read, value should be in the interval [0,size).
Reset this block so it can be re-used.
Reset this block so it can be re-used.
Number of data points to store in the block.
Number of data points to store in the block.
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.
Start time for the block (epoch in milliseconds).
Start time for the block (epoch in milliseconds).
Returns a copy of the block as a simple array-backed block.
Returns a copy of the block as a simple array-backed block.
Update the value for the specified position.
Update the value for the specified position.
(Since version ) see corresponding Javadoc for more information.
A block representing a set of aggregates computed by rolling up a metric.