| java.lang.Object org.hsqldb.types.Binary
Binary | public class Binary (Code) | | Java representation of a BINARY field value.
A Binary object instance always wraps a non-null byte[] object; all
NULL SQL field values are represented internally by HSQLDB as Java null.
author: fredt@users version: 1.7.2 since: 1.7.2 |
Constructor Summary | |
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). |
Binary | public Binary(byte[] data, boolean clone)(Code) | | 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.
|
getBytes | public byte[] getBytes()(Code) | | |
getBytesLength | public int getBytesLength()(Code) | | |
getClonedBytes | public byte[] getClonedBytes()(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|