Class Murmur3HashFunction


  • public final class Murmur3HashFunction
    extends java.lang.Object
    Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.
    • Method Summary

      Modifier and Type Method Description
      static int hash​(byte[] bytes, int offset, int length)  
      static int hash​(java.lang.String routing)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • hash

        public static int hash​(java.lang.String routing)
      • hash

        public static int hash​(byte[] bytes,
                               int offset,
                               int length)