Class OBinary

java.lang.Object
com.orientechnologies.common.types.OBinary
All Implemented Interfaces:
Comparable<OBinary>

@Deprecated public class OBinary extends Object implements Comparable<OBinary>
Deprecated.
Binary wrapper to let to byte[] to be managed inside OrientDB where comparable is needed, like for indexes.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)

Deprecated sice v2.2

  • Constructor Details

    • OBinary

      public OBinary(byte[] buffer)
      Deprecated.
  • Method Details

    • compareTo

      public int compareTo(OBinary o)
      Deprecated.
      Specified by:
      compareTo in interface Comparable<OBinary>
    • toByteArray

      public byte[] toByteArray()
      Deprecated.