Interface TimeseriesDataSet

    • Method Detail

      • getTimeseriesData

        TimeseriesData getTimeseriesData​(int index)
        Parameters:
        index - - the index in this TimeseriesDataSet for which TimeseriesData should be returned.
        Returns:
        - TimeseriesData at the given index within this TimeseriesDataSet
      • getVariableName

        java.lang.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
        void addTimeseriesData​(TimeseriesData data)
        Deprecated.
        (never use, major performance hit, can lead to unpredictable states)
        Parameters:
        data - - the TimeseriesData to be added to this TimeseriesDataSet
      • listIterator

        @Deprecated
        java.util.ListIterator<TimeseriesData> listIterator()
        Deprecated.
        (never use, major performance hit, can lead to unpredictable states)
        Returns:
        - a ListIterator for all TimeseriesData in this TimeseriesDataSet
      • getMaxStamp

        java.sql.Timestamp getMaxStamp()
        Returns:
        - the highest timestamp in the timeseries data set.
      • getMinStamp

        java.sql.Timestamp getMinStamp()
        Returns:
        - the smallest timestamp in the timeseries data set
      • getTimeseriesDataOrLast

        TimeseriesData getTimeseriesDataOrLast​(java.sql.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 returned
        Parameters:
        stamp - - The given timestamp
        Returns:
        - The data at the given timestamp or just before
      • append

        @Deprecated
        void append​(TimeseriesDataSet data)
        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

        java.lang.String getMetaDataInfo​(LoggingTimeZone timeZone)
      • getTimeseriesData

        TimeseriesData getTimeseriesData​(java.sql.Timestamp timestamp)
        Returns the data at the given timestamp or null if the data is not found
        Parameters:
        timestamp -
        Returns:
      • getVariable

        Variable getVariable()
        Note: Not always available (depending on the extraction)
        Returns:
      • getUnit

        java.lang.String getUnit()