| Modifier and Type | Field and Description |
|---|---|
| pack-priv BlobDataID | |
| pack-priv int | |
| private boolean | |
| private boolean | |
| pack-priv BlobDataID | |
| pack-priv JDBCResultSet | |
| pack-priv SessionInterface |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public synchronized void | |
| public synchronized void | free()
Implements java. This method frees the |
| public synchronized InputStream | Returns: a stream containing theBLOB dataImplements java. Retrieves the |
| public synchronized InputStream | Returns: InputStream through which the partial Blob value can be read.the offset to the first byte of the partial value to be retrieved.
The first byte in the pos, long Blob is at position 1the length in bytes of the partial value to be retrieved length)Implements java. Returns an |
| public BlobDataID | |
| public synchronized byte[] | Returns: a byte array containing up tolength consecutive
bytes from the BLOB value designated by this
Blob object, starting with the byte at position
posthe ordinal position of the first byte in the
pos, int BLOB value to be extracted; the first byte is at
position 1the number of consecutive bytes to be copied length)Implements java. Retrieves all or part of the |
| public boolean | |
| pack-priv static boolean | |
| public synchronized long | Returns: length of theBLOB in bytesImplements java. Returns the number of bytes in the |
| public synchronized long | Returns: the position at which the pattern appears, else -1the byte array for which to search pattern, long the position at which to begin searching; the first
position is 1 start)Implements java. Retrieves the byte position at which the specified byte array
|
| public synchronized long | Returns: the position at which the pattern begins, else -1the pattern, long Blob object designating the
BLOB value for which to searchthe position in the start)BLOB value at which to
begin searching; the first position is 1Implements java. Retrieves the byte position in the |
| public synchronized OutputStream | Returns: ajava.io.OutputStream object to which data can
be writtenthe position in the pos)BLOB value at which to
start writingImplements java. Retrieves a stream that can be used to write to the |
| public synchronized int | Returns: the number of bytes writtenthe position in the pos, byte[] BLOB object at which to
start writingthe array of bytes to be written to the
bytes)BLOB value that this Blob object
representsImplements java. Writes the given array of bytes to the |
| public synchronized int | Returns: the number of bytes writtenthe position in the pos, byte[] BLOB object at which to
start writingthe array of bytes to be written to this
bytes, 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 len)BLOB
value from the array of bytes bytesImplements java. Writes all or part of the given |
| public synchronized void | |
| private void | |
| public synchronized void | truncate(long
the length, in bytes, to which the len)BLOB value
that this Blob object represents should be truncatedImplements java. Truncates the |
| blob | back to summary |
|---|---|
| pack-priv BlobDataID blob | |
| colIndex | back to summary |
|---|---|
| pack-priv int colIndex | |
| isClosed | back to summary |
|---|---|
| private boolean isClosed | |
| isWritable | back to summary |
|---|---|
| private boolean isWritable | |
| originalBlob | back to summary |
|---|---|
| pack-priv BlobDataID originalBlob | |
| resultSet | back to summary |
|---|---|
| pack-priv JDBCResultSet resultSet | |
| session | back to summary |
|---|---|
| pack-priv SessionInterface session | |
| JDBCBlobClient | back to summary |
|---|---|
| public JDBCBlobClient(SessionInterface session, BlobDataID blob) | |
| checkClosed | back to summary |
|---|---|
| private void checkClosed() throws SQLException | |
| clearUpdates | back to summary |
|---|---|
| public synchronized void clearUpdates() | |
| free | back to summary |
|---|---|
| public synchronized void free() throws SQLException Implements java. This method frees the
After
| |
| getBinaryStream | back to summary |
|---|---|
| public synchronized InputStream getBinaryStream() throws SQLException Implements java. Retrieves the
| |
| getBinaryStream | back to summary |
|---|---|
| public synchronized InputStream getBinaryStream(long pos, long length) throws SQLException Implements java. Returns an
| |
| getBlob | back to summary |
|---|---|
| public BlobDataID getBlob() | |
| getBytes | back to summary |
|---|---|
| public synchronized byte[] getBytes(long pos, int length) throws SQLException Implements java. Retrieves all or part of the
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() | |
| isInLimits | back to summary |
|---|---|
| pack-priv static boolean isInLimits(long fullLength, long pos, long len) | |
| length | back to summary |
|---|---|
| public synchronized long length() throws SQLException Implements java. Returns the number of bytes in the
| |
| position | back to summary |
|---|---|
| public synchronized long position(byte[] pattern, long start) throws SQLException Implements java. Retrieves the byte position at which the specified byte array
| |
| position | back to summary |
|---|---|
| public synchronized long position(Blob pattern, long start) throws SQLException Implements java. Retrieves the byte position in the
| |
| setBinaryStream | back to summary |
|---|---|
| public synchronized OutputStream setBinaryStream(long pos) throws SQLException Implements java. Retrieves a stream that can be used to write to the
| |
| setBytes | back to summary |
|---|---|
| public synchronized int setBytes(long pos, byte[] bytes) throws SQLException Implements java. Writes the given array of bytes to the
| |
| setBytes | back to summary |
|---|---|
| public synchronized int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException Implements java. Writes all or part of the given
| |
| setWritable | back to summary |
|---|---|
| public synchronized void setWritable(JDBCResultSet result, int index) | |
| startUpdate | back to summary |
|---|---|
| private void startUpdate() throws SQLException | |
| truncate | back to summary |
|---|---|
| public synchronized void truncate(long len) throws SQLException Implements java. Truncates the
| |