Interface BinaryValue

All Superinterfaces:
Comparable<FieldValue>, FieldValue

public interface BinaryValue extends FieldValue
BinaryValue extends FieldValue to represent a byte array value.
Since:
3.0
  • Method Details

    • get

      byte[] get()
      Returns the byte array value.
      Returns:
      the byte array value
    • compareTo

      int compareTo(FieldValue otherValue)
      Returns 0 if the two values are equal in terms of length and byte content, otherwise it returns -1.
      Specified by:
      compareTo in interface Comparable<FieldValue>
      Returns:
      0 if the values are equal, -1 otherwise
    • clone

      BinaryValue clone()
      Create a deep copy of this object.
      Specified by:
      clone in interface FieldValue
      Returns:
      a deep copy of this object
    • toString

      String toString()
      Returns a String representation of the value using a Base64 encoding.
      Overrides:
      toString in class Object
      Returns:
      a String representation of the value