Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

setAsciiStream(long)
getCharacterStream
public java.io.Reader getCharacterStream()
throws java.sql.SQLException
Retrieves the CLOB value designated by this Clob object as a java.io.Reader object (or as a stream of
characters).
Specified by:
getCharacterStream in interface java.sql.Clob
Returns:
a java.io.Reader object containing the CLOB data
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value
See Also:
setCharacterStream(long)
getSubString
public java.lang.String getSubString(long pos,
int length)
throws java.sql.SQLException
Retrieves a copy of the specified substring in the CLOB value designated by this Clob object. The substring
begins at position pos and has up to length consecutive characters.
Specified by:
getSubString in interface java.sql.Clob
Parameters:
pos - the first character of the substring to be extracted. The first character is at position 1.
length - the number of consecutive characters to be copied
Returns:
a String that is the specified substring in the CLOB value designated by this Clob object
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value
position
public long position(java.sql.Clob searchstr,
long start)
throws java.sql.SQLException
Retrieves the character position at which the specified Clob object searchstr appears in this Clob object. The
search begins at position start.
Specified by:
position in interface java.sql.Clob
Parameters:
searchstr Clob