|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.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 BlobSQLExceptionBlob.getBinaryStream()
public byte[] getBytes(long pos,
int length)
throws SQLException
getBytes in interface BlobSQLExceptionBlob.getBytes(long, int)
public long length()
throws SQLException
length in interface BlobSQLExceptionBlob.length()
public long position(byte[] pattern,
long start)
throws SQLException
position in interface BlobSQLExceptionBlob.position(byte[], long)
public long position(Blob pattern,
long start)
throws SQLException
position in interface BlobSQLExceptionBlob.position(java.sql.Blob, long)
public OutputStream setBinaryStream(long pos)
throws SQLException
setBinaryStream in interface BlobSQLExceptionBlob.setBinaryStream(long)
public int setBytes(long pos,
byte[] bytes)
throws SQLException
setBytes in interface BlobSQLExceptionBlob.setBytes(long, byte[])
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
setBytes in interface BlobSQLExceptionBlob.setBytes(long, byte[], int, int)
public void truncate(long len)
throws SQLException
truncate in interface BlobSQLExceptionBlob.truncate(long)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||