Interface HistoricalValue

  • All Superinterfaces:
    java.lang.Comparable<HistoricalValue>
    All Known Subinterfaces:
    HistoricalValueGroup<V>, IdentifiedHistoricalValue<I>
    All Known Implementing Classes:
    BasicHistoricalValue

    public interface HistoricalValue
    extends java.lang.Comparable<HistoricalValue>
    The basic value unit for the historical querying system. Implements comparable, which should sort values based on timestamp. Besides that, provides the date already converted to a long, and also provides the data type class of the value.
    • Field Detail

      • FLAG_DIRECT_AVG

        static final int FLAG_DIRECT_AVG
        Note: this is a little unfortunate, how avg works. By being originally defined as 0, that means that if we want to make sure it's the "average", we need to make sure the value is exactly 0. This means we can't allow average to be collapsed with entry/exit.

        This value type can also mean the only value in a window (the "direct" value).

        See Also:
        Constant Field Values
    • Method Detail

      • getValue

        java.lang.Object getValue()
      • getTimestamp

        long getTimestamp()
      • getFlags

        int getFlags()
        Flags are implementation dependent markers for the value.