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

- the object for which to search
start - the position at which to begin searching; the first position is 1
Returns:
the position at which the Clob object appears or -1 if it is not present; the first position is 1
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value
position
public long position(java.lang.String searchstr,
long start)
throws java.sql.SQLException
Retrieves the character position at which the specified substring searchstr appears in the SQL CLOB value
represented by this Clob object. The search begins at position start.
Specified by:
position in interface java.sql.Clob
Parameters:
searchstr - the substring for which to search
start - the position at which to begin searching; the first position is 1
Returns:
the position at which the substring appears or -1 if it is not present; the first position is 1
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value
setAsciiStream
public java.io.OutputStream setAsciiStream(long pos)
throws java.sql.SQLException
Retrieves a stream to be used to write ASCII characters to the CLOB value that this Clob object represents,
starting at position pos.
Specified by:
setAsciiStream in interface java.sql.Clob
Parameters:
pos - the position at which to start writing to this CLOB object
Returns:
the stream to which ASCII encoded characters can be written
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value
See Also:
getAsciiStream()
setCharacterStream
public java.io.Writer setCharacterStream(long pos)
throws java.sql.SQLException
Retrieves a stream to be used to write a stream of Unicode characters to the
CLOB
value that this
Clob
object