public class ClientBlob
extends java.lang.Object
implements java.sql.Blob, java.io.Serializable
| Constructor and Description |
|---|
ClientBlob(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
java.io.InputStream |
getBinaryStream() |
java.io.InputStream |
getBinaryStream(long pos,
long length) |
byte[] |
getBytes(long start,
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 offest,
int len) |
void |
truncate(long len) |
public java.io.InputStream getBinaryStream()
getBinaryStream in interface java.sql.Blobpublic java.io.InputStream getBinaryStream(long pos,
long length)
getBinaryStream in interface java.sql.Blobpublic long position(byte[] pattern,
long start)
position in interface java.sql.Blobpublic long position(java.sql.Blob pattern,
long start)
position in interface java.sql.Blobpublic byte[] getBytes(long start,
int length)
getBytes in interface java.sql.Blobpublic long length()
length in interface java.sql.Blobpublic int setBytes(long pos,
byte[] bytes)
setBytes in interface java.sql.Blobpublic int setBytes(long pos,
byte[] bytes,
int offest,
int len)
setBytes in interface java.sql.Blobpublic java.io.OutputStream setBinaryStream(long pos)
setBinaryStream in interface java.sql.Blobpublic void truncate(long len)
truncate in interface java.sql.Blobpublic void free()
free in interface java.sql.Blob