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()Number of columns. |
int | getRows()Number of rows. |
(package private) void | set(int column,
int index,
double value) |
void | set(int column,
int index,
double[] newValues) |
(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 IOExceptionIOExceptiondouble[] get(int column,
int index,
int count)
throws IOExceptionIOExceptionpublic int getColumns()
public int getRows()
void set(int column,
int index,
double value)
throws IOExceptionIOExceptionpublic void set(int column,
int index,
double[] newValues)
throws IOExceptionIOExceptionvoid set(int column,
int index,
double value,
int count)
throws IOExceptionIOException