public abstract class ThrowingBlobJdbc3 extends Thrower implements Blob
Blob, decorated to throw an SQLException on command.| Constructor and Description |
|---|
ThrowingBlobJdbc3() |
| Modifier and Type | Method and Description |
|---|---|
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) |
shouldThrow, startThrowing, startThrowingAfter, stopThrowingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfree, getBinaryStreampublic 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)Copyright © 2000–2015 PanEris. All rights reserved.