object GorillaBlock
- Alphabetic
- By Inheritance
- GorillaBlock
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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 compress(entries: Stream[TSEntry[Double]]): GorillaBlock
Compress all the entries of the stream according to the Gorilla TSC format to two GorillaArrays and wrap them in a GorillaBlock.
Compress all the entries of the stream according to the Gorilla TSC format to two GorillaArrays and wrap them in a GorillaBlock.
- entries
a non-empty stream of TSEntry[Double] to be compressed, other types of numbers need to be converted to doubles
- returns
a gorilla encoded block
- Note
The entries need to be a well-formed series according to TSEntryFitter and TimestampValidator. Those constraints are checked and enforced.
- def compressSampled(entries: Stream[TSEntry[Double]], sampleRate: Long): GorillaBlock
Compress all the entries of the stream according to the Gorilla TSC format to one GorillaArray and wrap it in a GorillaBlock.
Compress all the entries of the stream according to the Gorilla TSC format to one GorillaArray and wrap it in a GorillaBlock. The sample rate will be written as well.
- entries
a non-empty stream of TSEntry[Double] to be compressed, their validities will be discarded
- sampleRate
the fixed validity for all the entries
- returns
a gorilla encoded block
- Note
The entries need to be a well-formed series according to TSEntryFitter and TimestampValidator. Those constraints are checked and enforced.
- 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])
- def fromSampled(valueBytes: GorillaArray, sampleRate: Long): GorillaBlock
Create a GorillaBlock from a value GorillaArray and a sample rate.
Create a GorillaBlock from a value GorillaArray and a sample rate.
- valueBytes
encodes the timeseries formed by the values along with their timestamps
- sampleRate
the constant validity of each entry in the series
- def fromTupleArrays(valueBytes: GorillaArray, validityBytes: GorillaArray): GorillaBlock
Create a GorillaBlock from a tuple of GorillaArrays.
Create a GorillaBlock from a tuple of GorillaArrays.
- valueBytes
encodes the timeseries formed by the values along with their timestamps
- validityBytes
encodes the series formed by the validities with their timestamps
- def fromTupleSerialized(bytes: Array[Byte]): GorillaBlock
Deserialize a tuple GorillaBlock according to the binary format specified above and return it.
- 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(fixedValidity: Long, compress: Boolean): Builder
A 'mutable.Builder' for the iterative construction of a GorillaBlock.
A 'mutable.Builder' for the iterative construction of a GorillaBlock. The builder takes TSEntries and continually encodes them to a sampled GorillaBlock in which all entries have the validity of the sample rate.
- def newBuilder(fixedValidity: Long): Builder
A 'mutable.Builder' for the iterative construction of a GorillaBlock.
A 'mutable.Builder' for the iterative construction of a GorillaBlock. The builder takes TSEntries and continually encodes them to a sampled GorillaBlock in which all entries have the validity of the sample rate. This also compresses contiguous equal entries.
- def newBuilder(compress: Boolean): Builder
A 'mutable.Builder' for the iterative construction of a GorillaBlock.
A 'mutable.Builder' for the iterative construction of a GorillaBlock. The builder takes TSEntries and continually encodes them.
- def newBuilder: Builder
A 'mutable.Builder' for the iterative construction of a GorillaBlock.
A 'mutable.Builder' for the iterative construction of a GorillaBlock. The builder takes TSEntries and continually encodes them. This also compresses contiguous equal entries.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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()