oracle.kv.table

## 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 Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BinaryValue` | `clone()` Create a deep copy of this object.
    `int` | `compareTo(FieldValue otherValue)` Returns 0 if the two values are equal in terms of length and byte content, otherwise it returns -1.
    `byte[]` | `get()` Returns the byte array value.

    - ### Methods inherited from interface oracle.kv.table.FieldValue

      `asArray, asBinary, asBoolean, asDouble, asEnum, asFixedBinary, asFloat, asIndexKey, asInteger, asLong, asMap, asPrimaryKey, asRecord, asRow, asString, getType, isArray, isBinary, isBoolean, isDouble, isEnum, isFixedBinary, isFloat, isIndexKey, isInteger, isLong, isMap, isNull, isPrimaryKey, isRecord, isRow, isString, toJsonString`

- - ### Method Detail

    - #### 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

Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.