Interface TimeseriesDataSet
- All Superinterfaces:
Collection<TimeseriesData>,Iterable<TimeseriesData>,Serializable
- All Known Implementing Classes:
SparkTimeseriesDataSet
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.(never use, major performance hit, can lead to unpredictable states)alignToTimestamps(TimeseriesDataSet required) voidappend(TimeseriesDataSet data) Deprecated.(never use, major performance hit, can lead to unpredictable states)getMetaDataInfo(LoggingTimeZone timeZone) getTimeseriesData(int index) getTimeseriesData(Timestamp timestamp) Returns the data at the given timestamp or null if the data is not foundgetTimeseriesDataOrLast(Timestamp stamp) Returns the data at the given timestamp or repeat the last value if there is no value found at the given timestamp If there is no value before that time, null is returnedgetUnit()Note: Not always available (depending on the extraction)Deprecated.(never use, major performance hit, can lead to unpredictable states)voidprint(LoggingTimeZone utcTime)
-
Method Details
-
getTimeseriesData
- Parameters:
index- - the index in this TimeseriesDataSet for which TimeseriesData should be returned.- Returns:
- - TimeseriesData at the given index within this TimeseriesDataSet
-
getVariableName
String getVariableName()- Returns:
- - the name of the Variable to which this TimeseriesData belongs
-
getVariableDataType
VariableDataType getVariableDataType()- Returns:
- - the type of the Variable to which this TimeseriesData belongs
-
addTimeseriesData
Deprecated.(never use, major performance hit, can lead to unpredictable states)- Parameters:
data- - the TimeseriesData to be added to this TimeseriesDataSet
-
listIterator
Deprecated.(never use, major performance hit, can lead to unpredictable states)- Returns:
- - a ListIterator for all TimeseriesData in this TimeseriesDataSet
-
getMaxStamp
Timestamp getMaxStamp()- Returns:
- - the highest timestamp in the timeseries data set.
-
getMinStamp
Timestamp getMinStamp()- Returns:
- - the smallest timestamp in the timeseries data set
-
getTimeseriesDataOrLast
Returns the data at the given timestamp or repeat the last value if there is no value found at the given timestamp If there is no value before that time, null is returned- Parameters:
stamp- - The given timestamp- Returns:
- - The data at the given timestamp or just before
-
print
-
append
Deprecated.(never use, major performance hit, can lead to unpredictable states)Appends a Timeseries Data Set to the end of the current data set- Parameters:
data- The data set to be appended
-
getMetaDataInfo
-
getTimeseriesData
Returns the data at the given timestamp or null if the data is not found- Parameters:
timestamp-- Returns:
-
getMetaData
TimeseriesDataSetMetaData getMetaData() -
alignToTimestamps
-
getVariable
Variable getVariable()Note: Not always available (depending on the extraction)- Returns:
-
getUnit
String getUnit()
-