Class BytesText

    • Method Detail

      • hasBytes

        public boolean hasBytes()
        Description copied from interface: Text
        Are bytes available without the need to be converted into bytes when calling Text.bytes().
      • bytes

        public BytesReference bytes()
        Description copied from interface: Text
        The UTF8 bytes representing the the text, might be converted on the fly, see Text.hasBytes()
      • hasString

        public boolean hasString()
        Description copied from interface: Text
        Is there a String representation of the text. If not, then it Text.hasBytes().
      • string

        public String string()
        Description copied from interface: Text
        Returns the string representation of the text, might be converted to a string on the fly.
      • toString

        public String toString()
        Description copied from interface: Text
        Returns the string representation of the text, might be converted to a string on the fly.
      • hashCode

        public int hashCode()
      • equals

        public boolean equals(Object obj)
      • compareTo

        public int compareTo(Text text)