public class MySQLClob extends MySQLBlob implements Clob, NClob, Serializable
actualSize, blobContent| Modifier and Type | Method and Description |
|---|---|
InputStream |
getAsciiStream() |
Reader |
getCharacterStream() |
Reader |
getCharacterStream(long pos,
long length) |
String |
getSubString(long pos,
int length) |
long |
length()
Returns the number of bytes in the
BLOB value designated by this Blob object. |
long |
position(Clob searchstr,
long start) |
long |
position(String searchstr,
long start) |
OutputStream |
setAsciiStream(long pos) |
Writer |
setCharacterStream(long pos) |
int |
setString(long pos,
String str) |
int |
setString(long pos,
String str,
int offset,
int len) |
String |
toString() |
free, getBinaryStream, getBinaryStream, getBytes, position, position, setBinaryStream, setBytes, setBytes, truncatepublic String getSubString(long pos, int length) throws SQLException
getSubString in interface ClobSQLExceptionpublic Reader getCharacterStream() throws SQLException
getCharacterStream in interface ClobSQLExceptionpublic InputStream getAsciiStream() throws SQLException
getAsciiStream in interface ClobSQLExceptionpublic long position(String searchstr, long start) throws SQLException
position in interface ClobSQLExceptionpublic long position(Clob searchstr, long start) throws SQLException
position in interface ClobSQLExceptionpublic int setString(long pos,
String str)
throws SQLException
setString in interface ClobSQLExceptionpublic int setString(long pos,
String str,
int offset,
int len)
throws SQLException
setString in interface ClobSQLExceptionpublic OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream in interface ClobSQLExceptionpublic Writer setCharacterStream(long pos) throws SQLException
setCharacterStream in interface ClobSQLExceptionpublic Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream in interface ClobSQLExceptionCopyright © 2014. All rights reserved.