Constructor and Description |
---|
ByteArrayBlob(byte[] value) |
Modifier and Type | Method and Description |
---|---|
void |
free() |
java.io.InputStream |
getBinaryStream() |
java.io.InputStream |
getBinaryStream(long arg0,
long arg1) |
byte[] |
getBytes() |
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) |
public java.io.InputStream getBinaryStream() throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
getBinaryStream
in interface AxionBlob
java.sql.SQLException
public byte[] getBytes()
public byte[] getBytes(long pos, int length) throws java.sql.SQLException
public long length() throws java.sql.SQLException
public long position(java.sql.Blob pattern, long start) throws java.sql.SQLException
public long position(byte[] pattern, long start) throws java.sql.SQLException
public java.io.OutputStream setBinaryStream(long pos) throws java.sql.SQLException
setBinaryStream
in interface java.sql.Blob
setBinaryStream
in interface AxionBlob
java.sql.SQLException
public int setBytes(long pos, byte[] bytes, int offset, int len) throws java.sql.SQLException
public int setBytes(long pos, byte[] bytes) throws java.sql.SQLException
public void truncate(long len) throws java.sql.SQLException
public void free() throws java.sql.SQLException
free
in interface java.sql.Blob
java.sql.SQLException
public java.io.InputStream getBinaryStream(long arg0, long arg1) throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
java.sql.SQLException