getCharacterStream(long pos, long length)
Syntax:
InputStream getCharacterStream(long pos, long length) throws SQLException
Description:
Returns an Reader
object that contains a partial Clob
value, starting with the character specified by pos
, which is length
characters in length.
Parameters:
pos
the offset to the first character of the partial value to be retrieved. The first character in the Clob
is at position 1
length
the length in characters of the partial value to be retrieved
Returns:
Type: Reader
Reader
through which the partial Clob
value can be read.
Throws:
SQLException - if a database access error occurs, pos < 1, length is < 0, or (pos - 1) + length > the amount of data in the RDMClob
References:
For more information, reference JDBC documentation for: Clob.getCharacterStream(long, long)