Constructor and Description |
---|
FiberBlob(Blob blob,
ExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
free() |
InputStream |
getBinaryStream() |
InputStream |
getBinaryStream(long pos,
long length) |
byte[] |
getBytes(long pos,
int length) |
int |
hashCode() |
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) |
String |
toString() |
void |
truncate(long len) |
public FiberBlob(Blob blob, ExecutorService executor)
@Suspendable public byte[] getBytes(long pos, int length) throws SQLException
getBytes
in interface Blob
SQLException
@Suspendable public InputStream getBinaryStream() throws SQLException
getBinaryStream
in interface Blob
SQLException
@Suspendable public long position(byte[] pattern, long start) throws SQLException
position
in interface Blob
SQLException
@Suspendable public long position(Blob pattern, long start) throws SQLException
position
in interface Blob
SQLException
@Suspendable public int setBytes(long pos, byte[] bytes) throws SQLException
setBytes
in interface Blob
SQLException
@Suspendable public int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException
setBytes
in interface Blob
SQLException
@Suspendable public OutputStream setBinaryStream(long pos) throws SQLException
setBinaryStream
in interface Blob
SQLException
@Suspendable public InputStream getBinaryStream(long pos, long length) throws SQLException
getBinaryStream
in interface Blob
SQLException
@Suspendable public long length() throws SQLException
length
in interface Blob
SQLException
@Suspendable public void truncate(long len) throws SQLException
truncate
in interface Blob
SQLException
@Suspendable public void free() throws SQLException
free
in interface Blob
SQLException