Package org.elasticsearch.common.lucene
Class BytesRefs
org.elasticsearch.common.lucene.BytesRefs
public class BytesRefs
extends
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.util.BytesRef
value)
Converts an object value to BytesRef.static org.apache.lucene.util.BytesRef
value, org.apache.lucene.util.BytesRefBuilder spare)
static
value)
Converts a value to a string, taking special care if its aBytesRef
to callBytesRef.utf8ToString()
.Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
BytesRefs
public BytesRefs()
-
-
Method Details
-
toString
public static toString( value)Converts a value to a string, taking special care if its aBytesRef
to callBytesRef.utf8ToString()
. -
toBytesRef
public static org.apache.lucene.util.BytesRef toBytesRef( value)Converts an object value to BytesRef. -
toBytesRef
public static org.apache.lucene.util.BytesRef toBytesRef( value, org.apache.lucene.util.BytesRefBuilder spare)
-