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