public class Clob extends java.lang.Object implements java.sql.Clob, OutputStreamWatcher, WriterWatcher
| Constructor and Description |
|---|
Clob(ExceptionInterceptor exceptionInterceptor) |
Clob(java.lang.String charDataInit,
ExceptionInterceptor exceptionInterceptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
java.io.InputStream |
getAsciiStream() |
java.io.Reader |
getCharacterStream() |
java.io.Reader |
getCharacterStream(long pos,
long length) |
java.lang.String |
getSubString(long startPos,
int length) |
long |
length() |
long |
position(java.sql.Clob arg0,
long arg1) |
long |
position(java.lang.String stringToFind,
long startPos) |
java.io.OutputStream |
setAsciiStream(long indexToWriteAt) |
java.io.Writer |
setCharacterStream(long indexToWriteAt) |
int |
setString(long pos,
java.lang.String str) |
int |
setString(long pos,
java.lang.String str,
int offset,
int len) |
void |
streamClosed(WatchableOutputStream out)
Called when the OutputStream being watched has .close() called
|
void |
truncate(long length) |
void |
writerClosed(char[] charDataBeingWritten) |
void |
writerClosed(WatchableWriter out)
Called when the Writer being watched has .close() called
|
Clob(ExceptionInterceptor exceptionInterceptor)
Clob(java.lang.String charDataInit,
ExceptionInterceptor exceptionInterceptor)
public java.io.InputStream getAsciiStream()
throws java.sql.SQLException
getAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionClob.getAsciiStream()public java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionClob.getCharacterStream()public java.lang.String getSubString(long startPos,
int length)
throws java.sql.SQLException
getSubString in interface java.sql.Clobjava.sql.SQLExceptionClob.getSubString(long, int)public long length()
throws java.sql.SQLException
length in interface java.sql.Clobjava.sql.SQLExceptionClob.length()public long position(java.sql.Clob arg0,
long arg1)
throws java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionClob.position(Clob, long)public long position(java.lang.String stringToFind,
long startPos)
throws java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionClob.position(String, long)public java.io.OutputStream setAsciiStream(long indexToWriteAt)
throws java.sql.SQLException
setAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionClob.setAsciiStream(long)public java.io.Writer setCharacterStream(long indexToWriteAt)
throws java.sql.SQLException
setCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionClob.setCharacterStream(long)public int setString(long pos,
java.lang.String str)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionClob.setString(long, String)public int setString(long pos,
java.lang.String str,
int offset,
int len)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionClob.setString(long, String, int, int)public void streamClosed(WatchableOutputStream out)
OutputStreamWatcherstreamClosed in interface OutputStreamWatchercom.mysql.jdbc.OutputStreamWatcher#streamClosed(byte[])public void truncate(long length)
throws java.sql.SQLException
truncate in interface java.sql.Clobjava.sql.SQLExceptionClob.truncate(long)public void writerClosed(char[] charDataBeingWritten)
com.mysql.jdbc.WriterWatcher#writerClosed(char[])public void writerClosed(WatchableWriter out)
WriterWatcherwriterClosed in interface WriterWatchercom.mysql.jdbc.WriterWatcher#writerClosed(char[])public void free()
throws java.sql.SQLException
free in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(long pos,
long length)
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLException