Java org.apache.lucene.util StringHelper fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.util StringHelper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.util StringHelper.

The text is from its open source code.

Field

intGOOD_FAST_HASH_SEED
Pass this as the seed to #murmurhash3_x86_32 .

Method

StringidToString(byte id[])
Helper method to render an ID as a string, for debugging

Returns the string (null) if the id is null.

intmurmurhash3_x86_32(BytesRef bytes, int seed)
intmurmurhash3_x86_32(byte[] data, int offset, int len, int seed)
Returns the MurmurHash3_x86_32 hash.
byte[]randomId()
Generates a non-cryptographic globally unique id.
booleanstartsWith(byte[] ref, BytesRef prefix)
Returns true iff the ref starts with the given prefix.
booleanstartsWith(BytesRef ref, BytesRef prefix)
Returns true iff the ref starts with the given prefix.