|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysql.jdbc.Clob
public class Clob
Simplistic implementation of java.sql.Clob for MySQL Connector/J
| Method Summary | |
|---|---|
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(com.mysql.jdbc.WatchableOutputStream out)
Called when the OutputStream being watched has .close() called |
void |
truncate(long length)
|
void |
writerClosed(char[] charDataBeingWritten)
|
void |
writerClosed(com.mysql.jdbc.WatchableWriter out)
Called when the Writer being watched has .close() called |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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(com.mysql.jdbc.WatchableOutputStream out)
com.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(com.mysql.jdbc.WatchableWriter out)
com.mysql.jdbc.WriterWatcher#writerClosed(char[])
public void free()
throws java.sql.SQLException
free in interface java.sql.Clobjava.sql.SQLException
public java.io.Reader getCharacterStream(long pos,
long length)
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLException
|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||