Packages

class TSEntryFitter[T] extends AnyRef

This encapsulates the logic of fitting TSEntries one after another. It is used in TimeSeriesBuilders to take care of trimming, compressing and checking the sanity of consecutive entries.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TSEntryFitter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TSEntryFitter(compress: Boolean)

    compress

    Whether consecutive entries of equal value should be compressed into one or not.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAndFitLast(elem: TSEntry[T]): Option[TSEntry[T]]

    Adds the next timeseries entry.

    Adds the next timeseries entry. The previously added entry will be trimmed if it overlaps with the next entry. If the next entry has the same value as the previous one, they are compressed into one entry and nothing (None) is returend. Otherwise, the previous entry is trimmed and returned (Some(prev)).

    elem

    the next TSEntry of the series

    returns

    the trimmed and compressed previous entry or None

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clear(): Unit

    Clears/resets all state of the fitter.

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isDomainContinuous: Boolean

    returns

    whether all added entries so far were either contiguous or overlapping. I.e. there were no holes in the domain of definition of the entries seen so far.

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def lastEntry: Option[TSEntry[T]]

    returns

    the last entry that was added to the fitter. This entry can still change if more entries are added (it might be compressed/trimmed).

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped