Class Murmur3HashFunction
org.elasticsearch.cluster.routing.Murmur3HashFunction
public final class Murmur3HashFunction
extends
Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
hash(byte[] bytes, int offset, int length)
static int
routing)
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Method Details
-
hash
public static int hash( routing) -
hash
public static int hash(byte[] bytes, int offset, int length)
-