| org.postgresql.jdbc2.AbstractJdbc2Clob org.postgresql.jdbc3.AbstractJdbc3Clob
All known Subclasses: org.postgresql.jdbc3.Jdbc3Clob, org.postgresql.jdbc4.AbstractJdbc4Clob, org.postgresql.jdbc3g.Jdbc3gClob,
Method Summary | |
public synchronized java.io.OutputStream | setAsciiStream(long pos) Retrieves a stream to be used to write Ascii characters to the
CLOB value that this Clob object represents,
starting at position pos . | public synchronized java.io.Writer | setCharacterStream(long pos) Retrieves a stream to be used to write a stream of Unicode characters
to the CLOB value that this Clob object
represents, at position pos . | public synchronized int | setString(long pos, String str) Writes the given Java String to the CLOB
value that this Clob object designates at the position
pos . | public synchronized int | setString(long pos, String str, int offset, int len) Writes len characters of str , starting
at character offset , to the CLOB value
that this Clob represents. |
setAsciiStream | public synchronized java.io.OutputStream setAsciiStream(long pos) throws SQLException(Code) | | Retrieves a stream to be used to write Ascii characters to the
CLOB value that this Clob object represents,
starting at position pos .
Parameters: pos - the position at which to start writing to thisCLOB object the stream to which ASCII encoded characters can be written exception: SQLException - if there is an error accessing theCLOB value See Also: AbstractJdbc3Clob.getAsciiStream since: 1.4 |
setCharacterStream | public synchronized java.io.Writer setCharacterStream(long pos) throws SQLException(Code) | | Retrieves a stream to be used to write a stream of Unicode characters
to the CLOB value that this Clob object
represents, at position pos .
Parameters: pos - the position at which to start writing to theCLOB value a stream to which Unicode encoded characters can be written exception: SQLException - if there is an error accessing theCLOB value See Also: AbstractJdbc3Clob.getCharacterStream since: 1.4 |
setString | public synchronized int setString(long pos, String str) throws SQLException(Code) | | Writes the given Java String to the CLOB
value that this Clob object designates at the position
pos .
Parameters: pos - the position at which to start writing to the CLOB value that this Clob object represents Parameters: str - the string to be written to the CLOB value that this Clob designates the number of characters written exception: SQLException - if there is an error accessing theCLOB value since: 1.4 |
setString | public synchronized int setString(long pos, String str, int offset, int len) throws SQLException(Code) | | Writes len characters of str , starting
at character offset , to the CLOB value
that this Clob represents.
Parameters: pos - the position at which to start writing to thisCLOB object Parameters: str - the string to be written to the CLOB value that this Clob object represents Parameters: offset - the offset into str to start readingthe characters to be written Parameters: len - the number of characters to be written the number of characters written exception: SQLException - if there is an error accessing theCLOB value since: 1.4 |
|
|