Class BytesRefs

java.lang.Object
org.elasticsearch.common.lucene.BytesRefs

public class BytesRefs extends Object
  • Constructor Details

    • BytesRefs

      public BytesRefs()
  • Method Details

    • toString

      public static String toString(Object value)
      Converts a value to a string, taking special care if its a BytesRef to call BytesRef.utf8ToString().
    • toBytesRef

      public static org.apache.lucene.util.BytesRef toBytesRef(Object value)
      Converts an object value to BytesRef.
    • toBytesRef

      public static org.apache.lucene.util.BytesRef toBytesRef(Object value, org.apache.lucene.util.BytesRefBuilder spare)