object TimestampValidator
This object specifies and checks all the different types of constraints that are imposed on timestamps of timeseries. There are two main types of constraints:
- logical constraints: chronological, increasing order
- compression constraints: Positivity, and maximal differences. These are (implicitly) given by the Gorilla library but the library itself does no checks. Therefore, we perform them here.
- Alphabetic
- By Inheritance
- TimestampValidator
- 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 MaxGap: Long
Maximal timestamp difference for two consecutive entries in a gorilla compressed series.
Maximal timestamp difference for two consecutive entries in a gorilla compressed series.
This is due to the fact that the difference is cast to a Java Integer inside the library.
- val MaxGapToBlock: Long
Maximal timestamp difference between the timestamp in the header of a gorilla array and the first entry's timestamp.
Maximal timestamp difference between the timestamp in the header of a gorilla array and the first entry's timestamp.
This is due to the fact that the library uses 27 bits and ZigZag encoding to encode this difference.
- 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
- def validate(lastTs: Long, currentTs: Long): Unit
Validates two consecutive timestamps of a timeseries for logical constraints i.e.
Validates two consecutive timestamps of a timeseries for logical constraints i.e. chronological order. Throws if constraints are violated.
- def validate(seqTs: Seq[Long]): Unit
Validates a sequence of consecutive timestamps of a timeseries for logical constraints i.e.
Validates a sequence of consecutive timestamps of a timeseries for logical constraints i.e. chronological order. Throws if constraints are violated.
- seqTs
a sequence of at least 2 timestamps
- def validateGorilla(lastTs: Long, currentTs: Long): Unit
Validates two consecutive timestamps of a timeseries for logical AND gorilla compression constraints.
Validates two consecutive timestamps of a timeseries for logical AND gorilla compression constraints. Throws if constraints are violated.
- def validateGorilla(seqTs: Seq[Long]): Unit
Validates a sequence of consecutive timestamps of a timeseries for logical AND gorilla compression constraints.
Validates a sequence of consecutive timestamps of a timeseries for logical AND gorilla compression constraints. Throws if constraints are violated.
- seqTs
a sequence of at least 2 timestamps
- def validateGorillaFirst(blockTs: Long, firstEntryTs: Long): Unit
Validates the timestamp written in the header of a gorilla block and the first entry's timestamp of the timeseries.
Validates the timestamp written in the header of a gorilla block and the first entry's timestamp of the timeseries. Checks for logical AND gorilla compression constraints. Throws if constraints are violated.
- 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()