getBinaryStream(long pos, long length)
Syntax:
InputStream getBinaryStream(long pos, long length) throws SQLException
Description:
Returns an InputStream
object that contains a partial Blob
value, starting with the byte specified by pos
, which is length
bytes in length.
Parameters:
pos
the offset to the first byte of the partial value to be retrieved. The first byte in the Blob
is at position 1
length
the length in bytes of the partial value to be retrieved
Returns:
Type: InputStream
InputStream
through which the partial Blob
value can be read.
Throws:
SQLException - if a database access error occurs
References:
For more information, reference JDBC documentation for: Blob.getBinaryStream(long, long)