Class BytesRefs

org.elasticsearch.common.lucene.BytesRefs

public class BytesRefs extends
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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 a BytesRef to call BytesRef.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 a BytesRef to call BytesRef.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)