public class DataChunk extends Object
Modifier and Type | Field and Description |
---|---|
(package private) double[][] |
data |
(package private) int |
dsCount
Number of datasources must be equal to number of datasources in file
|
(package private) int |
endOffset
Row number offset relative to current row
|
(package private) int |
startOffset
Row 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() |
int |
getEnd() |
int |
getStart() |
long |
getStep() |
long[] |
getTimestamps()
Getter for the time stamps values.
|
Plottable |
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 int startOffset
final int endOffset
final int dsCount
final double[][] data
public String toString()
public int getStart()
public int getEnd()
public long getStep()
public int getDsCount()
public double[][] getData()
Getter for the field data
.
public long[] getTimestamps()
Getter for the time stamps values.