object Hash128 extends Serializable
This gives default hashes using Murmur128 with a seed of 12345678 (for no good reason, but it should not be changed lest we break serialized HLLs)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Hash128
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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 DefaultSeed: Long
- implicit lazy val arrayByteHash: Hash128[Array[Byte]]
- implicit lazy val arrayIntHash: Hash128[Array[Int]]
- implicit lazy val arrayLongHash: Hash128[Array[Long]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hash[K](k: K)(implicit h: Hash128[K]): (Long, Long)
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit lazy val intHash: Hash128[Int]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit lazy val longHash: Hash128[Long]
- def murmur128ArrayByte(seed: Long): Hash128[Array[Byte]]
- def murmur128ArrayInt(seed: Long): Hash128[Array[Int]]
- def murmur128ArrayLong(seed: Long): Hash128[Array[Long]]
- def murmur128Int(defaultSeed: Long): Hash128[Int]
- def murmur128Long(defaultSeed: Long): Hash128[Long]
- def murmur128Utf8String(defaultSeed: Long): Hash128[String]
This serializes the string into UTF-8, then hashes.
This serializes the string into UTF-8, then hashes. This is different than the UTF-16 based approach in Murmur128.apply(CharSequence), but has been more commonly used in HLL.
- 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()
- implicit lazy val stringHash: Hash128[String]
- 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()