object MultiSeriesBlock extends Serializable
A MultiSeriesBlock groups multiple GorillaSuperBlocks in an indexed format. All the SuperBlocks are concatenated and there is a footer managed by thrift that contains the index and optionally names/string-keys for each SuperBlock.
The start and the end of the blob are marked with the 4-byte magic number 'STS\n': 53 54 53 0a that stands for "super time series".
GorillaSuperBlock Format +---+-------+-------+ ... +----- -+----------+---+---+
S | super | super |
| super | Thrift | L | S |
---|---|---|---|---|---|---|---|
S | 0 | 1 |
| N |
|
| S |
+---+-------+-------+ ... +-------+----------+---+---+
LF: length of Thrift footer, STS: magic number
- Alphabetic
- By Inheritance
- MultiSeriesBlock
- 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
- val STS_MAGIC_NUMBER: Int
Magic number that serves as a format delimiter.
- val VERSION_NUMBER: Int
Specifies the version number of this binary format
- 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()
- 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
- 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()
- def write(superBlocks: Seq[SliceableByteChannel], names: Option[Seq[String]], output: WritableByteChannel): Unit
Construct and write a MutliSeriesBlock to the given byte channel.
Construct and write a MutliSeriesBlock to the given byte channel.
- superBlocks
a sequence of file channels to read the GorillaSuperBlocks from
- names
optional names/string-keys to index the GorillaSuperBlocks, their order must correspond with the order of superBlocks
- output
writable byte channel
- Exceptions thrown
TException
if the footer cannot be encoded