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, truncate
public String getSubString(long pos, int length) throws SQLException
getSubString
in interface Clob
SQLException
public Reader getCharacterStream() throws SQLException
getCharacterStream
in interface Clob
SQLException
public InputStream getAsciiStream() throws SQLException
getAsciiStream
in interface Clob
SQLException
public long position(String searchstr, long start) throws SQLException
position
in interface Clob
SQLException
public long position(Clob searchstr, long start) throws SQLException
position
in interface Clob
SQLException
public int setString(long pos, String str) throws SQLException
setString
in interface Clob
SQLException
public int setString(long pos, String str, int offset, int len) throws SQLException
setString
in interface Clob
SQLException
public OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream
in interface Clob
SQLException
public Writer setCharacterStream(long pos) throws SQLException
setCharacterStream
in interface Clob
SQLException
public Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream
in interface Clob
SQLException
Copyright © 2015. All rights reserved.