org.hsqldb
Class Binary

java.lang.Object
  extended byorg.hsqldb.Binary

public class Binary
extends Object

Representation of instnace of BINARY field data. An instance always has a not-null byte[] object.

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Constructor Summary
Binary(byte[] data, boolean clone)
          This constructor is used inside the engine when an already serialized byte[] is read from a file (.log, .script, .data or text table source).
 
Method Summary
 boolean equals(Object other)
           
 byte[] getBytes()
           
 int getBytesLength()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Binary

public Binary(byte[] data,
              boolean clone)
This constructor is used inside the engine when an already serialized byte[] is read from a file (.log, .script, .data or text table source). In this case clone is false. When a byte[] is submitted as a parameter of PreparedStatement then clone is true.

Method Detail

getBytes

public byte[] getBytes()

getBytesLength

public int getBytesLength()

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public String toString()


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.