Class MultiTimeseriesDataSet
- java.lang.Object
-
- cern.nxcals.api.backport.domain.core.timeseriesdata.MultiTimeseriesDataSet
-
- All Implemented Interfaces:
MultiColumnTimeseriesDataSet
,java.io.Serializable
,java.lang.Cloneable
public class MultiTimeseriesDataSet extends java.lang.Object implements MultiColumnTimeseriesDataSet
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiTimeseriesDataSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MultiTimeseriesDataSet.Builder
builder()
java.util.List<java.lang.String>
getColumnHeaders()
java.util.List<java.lang.String>
getRowOfData(java.sql.Timestamp stamp)
java.util.Set<java.sql.Timestamp>
getTimestamps()
int
size()
-
-
-
Method Detail
-
getColumnHeaders
public java.util.List<java.lang.String> getColumnHeaders()
- Specified by:
getColumnHeaders
in interfaceMultiColumnTimeseriesDataSet
- Returns:
- - the columnHeaders, typically the names of the Variable having data in this TimeseriesDataSet
-
size
public int size()
- Specified by:
size
in interfaceMultiColumnTimeseriesDataSet
- Returns:
- - the no of rows (timestamps) in this MultiColumnTimeseriesDataSet
-
getRowOfData
public java.util.List<java.lang.String> getRowOfData(java.sql.Timestamp stamp)
- Specified by:
getRowOfData
in interfaceMultiColumnTimeseriesDataSet
- Parameters:
stamp
- - the timstamp for which a row of data should be retrieved- Returns:
- - a row of data corresponding to the given timestamp
-
getTimestamps
public java.util.Set<java.sql.Timestamp> getTimestamps()
- Specified by:
getTimestamps
in interfaceMultiColumnTimeseriesDataSet
- Returns:
- - the timestamps for which this MultiColumnTimeseriesDataSet is holding data
-
builder
public static MultiTimeseriesDataSet.Builder builder()
-
-