| Modifier and Type | Field and Description |
|---|---|
| private Blob | |
| private byte[] | |
| private long | |
| private long | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | free()
Implements java. This method frees the |
| public InputStream | getBinaryStream()
Implements java. Returns an input stream of this SerialObject. |
| public InputStream | getBinaryStream(long
the offset to the first byte of the partial value to be
retrieved. The first byte in the pos, long Blob is at position 1.the length in bytes of the partial value to be retrieved length)Implements java. Returns an |
| public byte[] | getBytes(long
the starting position of the array to be copied. pos, int the total length of bytes to be copied length)Implements java. Returns a copied array of this SerialObject, starting at the
|
| public long | Returns: an long value with the length of the SerialBlob in bytesImplements java. Gets the number of bytes in this SerialBlob object. |
| public static SQLException | makeSQLException(String messageID, Object[] args)
Create a SQLException from Derby message arguments. |
| private boolean | |
| public long | Returns: a long value with the position at which the pattern begins. -1 if the pattern is not found in this Blob.a Blob containing the pattern of data to search for in this
Blob pattern, long the position within this Blob to start the search, where the
first position in the Blob is 1 start)Implements java. Search for the position in this Blob at which a specified pattern begins, starting at a specified position within the Blob. |
| public long | Returns: a long value with the position at which the pattern begins. -1 if the pattern is not found in this Blob.a byte array containing the pattern of data to search for in
this Blob pattern, long the position within this Blob to start the search, where the
first position in the Blob is 1 start)Implements java. Search for the position in this Blob at which the specified pattern begins, starting at a specified position within the Blob. |
| public OutputStream | setBinaryStream(long
the position in the pos)BLOB value at which
to start writing; the first position is 1Implements java. Retrieves a stream that can be used to write to the |
| public int | setBytes(long
the position in the pos, byte[] BLOB object at which
to start writing; the first position is 1the array of bytes to be written to the theBytes)BLOB
value that this Blob object representsImplements java. Writes the given array of bytes to the |
| public int | setBytes(long
the position in the pos, byte[] BLOB object at which
to start writing; the first position is 1the array of bytes to be written to this theBytes, int BLOB
objectthe offset into the array offset, int bytes at which
to start reading the bytes to be setthe number of bytes to be written to the length)BLOB
value from the array of bytes bytesImplements java. Writes all or part of the given |
| public void | truncate(long
the length, in bytes, to which the length)BLOB value
that this Blob object represents should be truncatedImplements java. Truncates the |
| blob | back to summary |
|---|---|
| private Blob blob | |
| buf | back to summary |
|---|---|
| private byte[] buf | |
| len | back to summary |
|---|---|
| private long len | |
| origLen | back to summary |
|---|---|
| private long origLen | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HarmonySerialBlob | back to summary |
|---|---|
| public HarmonySerialBlob(Blob blob) throws SQLException Constructs an instance by the given
| |
| HarmonySerialBlob | back to summary |
|---|---|
| public HarmonySerialBlob(byte[] buf) Constructs an instance by the given
| |
| free | back to summary |
|---|---|
| public void free() throws SQLException Implements java. Doc from java. This method frees the
After
| |
| getBinaryStream | back to summary |
|---|---|
| public InputStream getBinaryStream() throws SQLException Implements java. Returns an input stream of this SerialObject.
| |
| getBinaryStream | back to summary |
|---|---|
| public InputStream getBinaryStream(long pos, long length) throws SQLException Implements java. Doc from java. Returns an
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes(long pos, int length) throws SQLException Implements java. Returns a copied array of this SerialObject, starting at the
| |
| length | back to summary |
|---|---|
| public long length() throws SQLException Implements java. Gets the number of bytes in this SerialBlob object.
| |
| makeSQLException | back to summary |
|---|---|
| public static SQLException makeSQLException(String messageID, Object[] args) Create a SQLException from Derby message arguments. | |
| match | back to summary |
|---|---|
| private boolean match(byte[] bytes, int start, byte[] subBytes) | |
| position | back to summary |
|---|---|
| public long position(Blob pattern, long start) throws SQLException Implements java. Search for the position in this Blob at which a specified pattern begins, starting at a specified position within the Blob.
| |
| position | back to summary |
|---|---|
| public long position(byte[] pattern, long start) throws SQLException Implements java. Search for the position in this Blob at which the specified pattern begins, starting at a specified position within the Blob.
| |
| setBinaryStream | back to summary |
|---|---|
| public OutputStream setBinaryStream(long pos) throws SQLException Implements java. Doc from java. Retrieves a stream that can be used to write to the Note If the value specified for
| |
| setBytes | back to summary |
|---|---|
| public int setBytes(long pos, byte[] theBytes) throws SQLException Implements java. Doc from java. Writes the given array of bytes to the Note If the value specified for
| |
| setBytes | back to summary |
|---|---|
| public int setBytes(long pos, byte[] theBytes, int offset, int length) throws SQLException Implements java. Doc from java. Writes all or part of the given Note If the value specified for
| |
| truncate | back to summary |
|---|---|
| public void truncate(long length) throws SQLException Implements java. Doc from java. Truncates the Note If the value specified for
| |