Class IntegerEncoder

    • Constructor Summary

      Constructors 
      Constructor Description
      IntegerEncoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BytesRef encode​(char[] buffer, int offset, int length)
      Convert a char array to a BytesRef
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntegerEncoder

        public IntegerEncoder()
    • Method Detail

      • encode

        public BytesRef encode​(char[] buffer,
                               int offset,
                               int length)
        Description copied from interface: PayloadEncoder
        Convert a char array to a BytesRef
        Returns:
        encoded BytesRef