Package org.opensearch.common.lucene
Class BytesRefs
java.lang.Object
org.opensearch.common.lucene.BytesRefs
Base bytes ref.
- Opensearch.internal:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
Converts a value to a string, taking special care if its aBytesRef
to callBytesRef.utf8ToString()
.
-
Constructor Details
-
BytesRefs
public BytesRefs()
-
-
Method Details
-
toString
Converts a value to a string, taking special care if its aBytesRef
to callBytesRef.utf8ToString()
. -
toBytesRef
Converts an object value to BytesRef. -
toBytesRef
public static org.apache.lucene.util.BytesRef toBytesRef(Object value, org.apache.lucene.util.BytesRefBuilder spare)
-