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