Packages

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
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Hash128
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. val DefaultSeed: Long
  5. implicit lazy val arrayByteHash: Hash128[Array[Byte]]
  6. implicit lazy val arrayIntHash: Hash128[Array[Int]]
  7. implicit lazy val arrayLongHash: Hash128[Array[Long]]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hash[K](k: K)(implicit h: Hash128[K]): (Long, Long)
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. implicit lazy val intHash: Hash128[Int]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. implicit lazy val longHash: Hash128[Long]
  19. def murmur128ArrayByte(seed: Long): Hash128[Array[Byte]]
  20. def murmur128ArrayInt(seed: Long): Hash128[Array[Int]]
  21. def murmur128ArrayLong(seed: Long): Hash128[Array[Long]]
  22. def murmur128Int(defaultSeed: Long): Hash128[Int]
  23. def murmur128Long(defaultSeed: Long): Hash128[Long]
  24. 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.

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. implicit lazy val stringHash: Hash128[String]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped