object ColumnTimeSeries extends Serializable
- Alphabetic
- By Inheritance
- ColumnTimeSeries
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def dichotomicSearch(timestamps: IndexedSeq[Long], targetTimestamp: Long): Option[Int]
Run a dichotomic search on the passed sequence of timestamps to find the highest timestamp that is lower or equal to 'ts'.
Run a dichotomic search on the passed sequence of timestamps to find the highest timestamp that is lower or equal to 'ts'.
- timestamps
an indexed sequence of timestamps
- targetTimestamp
the timestamp to search for
- returns
Some(index) where index is the position of the timetamp in the sequence if such a timestamp exists, None otherwise.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder[T](compress: Boolean = true): TimeSeriesBuilder[T]
- returns
the builder for column-base timeseries
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def ofOrderedEntriesSafe[T](entries: Seq[TSEntry[T]], compress: Boolean = true): TimeSeries[T]
Construct a timeseries using the ColumnTimeSeries.Builder given an ordered list of entries.
Construct a timeseries using the ColumnTimeSeries.Builder given an ordered list of entries. The correct underlying implementation will be chosen (EmptyTimeSeries, TSEntry or ColumnTimeSeries).
- T
The underlying type of the time series
- entries
A sequence of TSEntries which HAS to be chronologically ordered (w.r.t. their timestamps) and well-formed (no duplicated timestamps)
- compress
A flag specifying whether the entries should be compressed or not.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()