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.Blob
public java.io.InputStream getBinaryStream(long pos, long length)
getBinaryStream
in interface java.sql.Blob
public long position(byte[] pattern, long start)
position
in interface java.sql.Blob
public long position(java.sql.Blob pattern, long start)
position
in interface java.sql.Blob
public byte[] getBytes(long start, int length)
getBytes
in interface java.sql.Blob
public long length()
length
in interface java.sql.Blob
public int setBytes(long pos, byte[] bytes)
setBytes
in interface java.sql.Blob
public int setBytes(long pos, byte[] bytes, int offest, int len)
setBytes
in interface java.sql.Blob
public java.io.OutputStream setBinaryStream(long pos)
setBinaryStream
in interface java.sql.Blob
public void truncate(long len)
truncate
in interface java.sql.Blob
public void free()
free
in interface java.sql.Blob