public class BytesRefs
extends java.lang.Object
| Constructor and Description |
|---|
BytesRefs() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.util.BytesRef |
toBytesRef(java.lang.Object value)
Converts an object value to BytesRef.
|
static org.apache.lucene.util.BytesRef |
toBytesRef(java.lang.Object value,
org.apache.lucene.util.BytesRefBuilder spare) |
static java.lang.String |
toString(java.lang.Object value)
Converts a value to a string, taking special care if its a
BytesRef to call
BytesRef.utf8ToString(). |
public static java.lang.String toString(java.lang.Object value)
BytesRef to call
BytesRef.utf8ToString().public static org.apache.lucene.util.BytesRef toBytesRef(java.lang.Object value)
public static org.apache.lucene.util.BytesRef toBytesRef(java.lang.Object value,
org.apache.lucene.util.BytesRefBuilder spare)