Package org.elasticsearch.common.lucene
Class BytesRefs
- java.lang.Object
-
- org.elasticsearch.common.lucene.BytesRefs
-
public class BytesRefs extends Object
-
-
Constructor Summary
Constructors Constructor Description BytesRefs()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BytesReftoBytesRef(Object value)Converts an object value to BytesRef.static BytesReftoBytesRef(Object value, BytesRefBuilder spare)static StringtoString(Object value)Converts a value to a string, taking special care if its aBytesRefto callBytesRef.utf8ToString().
-
-
-
Method Detail
-
toString
public static String toString(Object value)
Converts a value to a string, taking special care if its aBytesRefto callBytesRef.utf8ToString().
-
toBytesRef
public static BytesRef toBytesRef(Object value, BytesRefBuilder spare)
-
-