|
||||||||||
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.ThrowingBlobJdbc3
public abstract class ThrowingBlobJdbc3
The JDBC3 members of a Blob
, decorated to throw an SQLException on command.
Constructor Summary | |
---|---|
ThrowingBlobJdbc3()
|
Method Summary | |
---|---|
InputStream |
getBinaryStream()
|
byte[] |
getBytes(long pos,
int length)
|
long |
length()
|
long |
position(Blob pattern,
long start)
|
long |
position(byte[] pattern,
long start)
|
OutputStream |
setBinaryStream(long pos)
|
int |
setBytes(long pos,
byte[] bytes)
|
int |
setBytes(long pos,
byte[] bytes,
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.Blob |
---|
free, getBinaryStream |
Constructor Detail |
---|
public ThrowingBlobJdbc3()
Method Detail |
---|
public InputStream getBinaryStream() throws SQLException
getBinaryStream
in interface Blob
SQLException
Blob.getBinaryStream()
public byte[] getBytes(long pos, int length) throws SQLException
getBytes
in interface Blob
SQLException
Blob.getBytes(long, int)
public long length() throws SQLException
length
in interface Blob
SQLException
Blob.length()
public long position(byte[] pattern, long start) throws SQLException
position
in interface Blob
SQLException
Blob.position(byte[], long)
public long position(Blob pattern, long start) throws SQLException
position
in interface Blob
SQLException
Blob.position(java.sql.Blob, long)
public OutputStream setBinaryStream(long pos) throws SQLException
setBinaryStream
in interface Blob
SQLException
Blob.setBinaryStream(long)
public int setBytes(long pos, byte[] bytes) throws SQLException
setBytes
in interface Blob
SQLException
Blob.setBytes(long, byte[])
public int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException
setBytes
in interface Blob
SQLException
Blob.setBytes(long, byte[], int, int)
public void truncate(long len) throws SQLException
truncate
in interface Blob
SQLException
Blob.truncate(long)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |