Class Murmur2


  • public class Murmur2
    extends java.lang.Object
    INTERNAL API
    • Constructor Summary

      Constructors 
      Constructor Description
      Murmur2()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int murmur2​(byte[] data)  
      static java.lang.String shardId​(java.lang.String entityId, int nrShards)  
      static int toPositive​(int number)  
      • Methods inherited from class java.lang.Object

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

      • Murmur2

        public Murmur2()
    • Method Detail

      • toPositive

        public static int toPositive​(int number)
      • murmur2

        public static int murmur2​(byte[] data)
      • shardId

        public static java.lang.String shardId​(java.lang.String entityId,
                                               int nrShards)