Packages

  • package root
    Definition Classes
    root
  • package io
    Definition Classes
    root
  • package sqooba
    Definition Classes
    io
  • package oss
    Definition Classes
    sqooba
  • package timeseries
    Definition Classes
    oss
  • package archive

    Provides abstraction and tools for compressing/archiving time series data.

    Provides abstraction and tools for compressing/archiving time series data. The compression used is Gorilla TSC encoding implemented by the Java library fi.iki.yak.ts.compression.gorilla.

    These are the main types:

    Definition Classes
    timeseries
    Note

    The only supported type for the values of the TSEntries at the moment is Double. This can lead to precision problems if you have very high long values that you convert to double and pass to the compression.

  • object GorillaSuperBlock extends Serializable

    A GorillaSuperBlock is a binary format for storing a long io.sqooba.oss.timeseries.TimeSeries composed of many GorillaBlocks.

    A GorillaSuperBlock is a binary format for storing a long io.sqooba.oss.timeseries.TimeSeries composed of many GorillaBlocks. It uses a sequential layout with an index to permit quick look-up of individual blocks by timestamp.

    GorillaSuperBlock Format +-------+-------+ ... +----- -+-------+---+----------+---+

    block

    block

    block

    Index

    L

    Thrift

    L

    +-------+-------+ ... +-------+-------+---+----------+---+

    LT: length of Thrift block, LI: length of index

    The Gorilla blocks are lined up one after another, ordered by timestamp. They all have different lengths that can be recovered from the offsets stored in the index.

    At the end of the stream there is a footer composed of an additional Gorilla array containing the index and a block of thrift managed metadata. The index maps the start timestamp of each GorillaBlock to its offset from the beginning of the blob (in bytes). The last entry in the index points to the start of the footer.

    The lengths of the index and of the thrift block are written as 4 byte integers just after the respective blocks. In that manner a user can first read the footer, decode the index and then do fast look-ups for blocks by timestamp.

    Definition Classes
    archive
  • Writer

class Writer[B <: GorillaBlock] extends AutoCloseable

A 'mutable.Growable' for the iterative writing of a GorillaSuperBlock.

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

Instance Constructors

  1. new Writer(output: OutputStream)

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 addOne(entry: TSEntry[B]): Writer.this.type
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clear(): Unit
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def close(): Unit
    Definition Classes
    Writer → AutoCloseable
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped