Constructor and Description |
---|
OutputBlob(InputStream inputStream,
long length) |
Modifier and Type | Method and Description |
---|---|
void |
free() |
InputStream |
getBinaryStream() |
InputStream |
getBinaryStream(long pos,
long length) |
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 length) |
void |
truncate(long length) |
public OutputBlob(InputStream inputStream, long length)
public void free() throws SQLException
free
in interface Blob
SQLException
public InputStream getBinaryStream()
getBinaryStream
in interface Blob
public InputStream getBinaryStream(long pos, long length) throws SQLException
getBinaryStream
in interface Blob
SQLException
public byte[] getBytes(long pos, int length) throws SQLException
getBytes
in interface Blob
SQLException
public OutputStream setBinaryStream(long pos)
setBinaryStream
in interface Blob
public int setBytes(long pos, byte[] bytes, int offset, int length)