com.twitter.algebird

Hash128

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val DefaultSeed: Long

  7. implicit lazy val arrayByteHash: Hash128[Array[Byte]]

  8. implicit lazy val arrayIntHash: Hash128[Array[Int]]

  9. implicit lazy val arrayLongHash: Hash128[Array[Long]]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hash[K](k: K)(implicit h: Hash128[K]): (Long, Long)

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. implicit lazy val intHash: Hash128[Int]

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. implicit lazy val longHash: Hash128[Long]

  21. def murmur128ArrayByte(seed: Long): Hash128[Array[Byte]]

  22. def murmur128ArrayInt(seed: Long): Hash128[Array[Int]]

  23. def murmur128ArrayLong(seed: Long): Hash128[Array[Long]]

  24. def murmur128Int(defaultSeed: Long): Hash128[Int]

  25. def murmur128Long(defaultSeed: Long): Hash128[Long]

  26. 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.

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. implicit lazy val stringHash: Hash128[String]

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped