U - The type of RrdUpdater this primitive belongs toclass RrdDoubleMatrix<U extends RrdUpdater<U>> extends RrdPrimitive<U>
This class provides methods to store and retrieve two-dimensional matrices of double values in RRD files. It organizes data in a row-column format and provides efficient access to individual elements and ranges.
RRD_DOUBLE, RRD_INT, RRD_LONG, RRD_PRIM_SIZES, RRD_STRING, STRING_LENGTH| Constructor and Description |
|---|
RrdDoubleMatrix(RrdUpdater<U> updater,
int row,
int column,
boolean shouldInitialize) |
| Modifier and Type | Method and Description |
|---|---|
(package private) double |
get(int column,
int index) |
(package private) double[] |
get(int column,
int index,
int count) |
int |
getColumns()
Getter for the field
columns. |
int |
getRows()
Getter for the field
rows. |
(package private) void |
set(int column,
int index,
double value) |
void |
set(int column,
int index,
double[] newValues)
set.
|
(package private) void |
set(int column,
int index,
double value,
int count) |
isCachingAllowed, readBytes, readDouble, readDouble, readDouble, readEnum, readInt, readLong, readString, writeBytes, writeDouble, writeDouble, writeDouble, writeDouble, writeEnum, writeInt, writeLong, writeStringRrdDoubleMatrix(RrdUpdater<U> updater, int row, int column, boolean shouldInitialize) throws IOException
IOExceptiondouble get(int column,
int index)
throws IOException
IOExceptiondouble[] get(int column,
int index,
int count)
throws IOException
IOExceptionpublic int getColumns()
columns.public int getRows()
rows.void set(int column,
int index,
double value)
throws IOException
IOExceptionpublic void set(int column,
int index,
double[] newValues)
throws IOException
column - a int.index - a int.newValues - an array of double.IOException - if any.void set(int column,
int index,
double value,
int count)
throws IOException
IOException