public final class Murmur3HashFunction
extends Object
Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.
-
Method Summary
static int
hash(byte[] bytes,
int offset,
int length)
static int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
hash
public static int hash(String routing)
-
hash
public static int hash(byte[] bytes,
int offset,
int length)