|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.dbms.test.sql.Thrower org.melati.poem.dbms.test.sql.ThrowingClobJdbc3
public abstract class ThrowingClobJdbc3
The JDBC3 members of a Clob
, decorated to throw an SQLException on command.
Constructor Summary | |
---|---|
ThrowingClobJdbc3()
|
Method Summary | |
---|---|
InputStream |
getAsciiStream()
|
Reader |
getCharacterStream()
|
String |
getSubString(long pos,
int length)
|
long |
length()
|
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)
|
void |
truncate(long len)
|
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower |
---|
shouldThrow, startThrowing, startThrowingAfter, stopThrowing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Clob |
---|
free, getCharacterStream |
Constructor Detail |
---|
public ThrowingClobJdbc3()
Method Detail |
---|
public InputStream getAsciiStream() throws SQLException
getAsciiStream
in interface Clob
SQLException
Clob.getAsciiStream()
public Reader getCharacterStream() throws SQLException
getCharacterStream
in interface Clob
SQLException
Clob.getCharacterStream()
public String getSubString(long pos, int length) throws SQLException
getSubString
in interface Clob
SQLException
Clob.getSubString(long, int)
public long length() throws SQLException
length
in interface Clob
SQLException
Clob.length()
public long position(String searchstr, long start) throws SQLException
position
in interface Clob
SQLException
Clob.position(java.lang.String, long)
public long position(Clob searchstr, long start) throws SQLException
position
in interface Clob
SQLException
Clob.position(java.sql.Clob, long)
public OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream
in interface Clob
SQLException
Clob.setAsciiStream(long)
public Writer setCharacterStream(long pos) throws SQLException
setCharacterStream
in interface Clob
SQLException
Clob.setCharacterStream(long)
public int setString(long pos, String str) throws SQLException
setString
in interface Clob
SQLException
Clob.setString(long, java.lang.String)
public int setString(long pos, String str, int offset, int len) throws SQLException
setString
in interface Clob
SQLException
Clob.setString(long, java.lang.String, int, int)
public void truncate(long len) throws SQLException
truncate
in interface Clob
SQLException
Clob.truncate(long)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |