public class DataChunk extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) double[][] | dataThe data values |
(package private) int | dsCountNumber of datasources must be equal to number of datasources in file |
(package private) int | endOffsetRow number offset relative to current row |
(package private) int | startOffsetRow number offset relative to current row. |
| Constructor and Description |
|---|
DataChunk(Map<String,Integer> nameindex,
long startTime,
int startOffset,
int endOffset,
long step,
int dsCount,
int rows) |
| Modifier and Type | Method and Description |
|---|---|
double[][] | getData()Getter for the field data. |
int | getDsCount()getDsCount. |
int | getEnd()getEnd. |
int | getStart()getStart. |
long | getStep()getStep. |
long[] | getTimestamps()Getter for the time stamps values. |
IPlottable | toPlottable(String name)Extract a datasource from the datachunck given is name as a Plottable |
String | toString()Returns a summary of the contents of this data chunk. |
final double[][] data
final int dsCount
final int endOffset
final int startOffset
public double[][] getData()
data.public int getDsCount()
public int getEnd()
public int getStart()
public long getStep()
public long[] getTimestamps()
public IPlottable toPlottable(String name)
name - the datasource name