public class JdbcBlob extends Object implements Blob
| Constructor and Description |
|---|
JdbcBlob(byte[] arr) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
InputStream |
getBinaryStream() |
InputStream |
getBinaryStream(long pos,
long len) |
byte[] |
getBytes(long pos,
int len) |
long |
length() |
long |
position(Blob ptrn,
long start) |
long |
position(byte[] ptrn,
long start) |
OutputStream |
setBinaryStream(long pos) |
int |
setBytes(long pos,
byte[] bytes) |
int |
setBytes(long pos,
byte[] bytes,
int off,
int len) |
void |
truncate(long len) |
public long length()
throws SQLException
length in interface BlobSQLExceptionpublic byte[] getBytes(long pos,
int len)
throws SQLException
getBytes in interface BlobSQLExceptionpublic InputStream getBinaryStream() throws SQLException
getBinaryStream in interface BlobSQLExceptionpublic InputStream getBinaryStream(long pos, long len) throws SQLException
getBinaryStream in interface BlobSQLExceptionpublic long position(byte[] ptrn,
long start)
throws SQLException
position in interface BlobSQLExceptionpublic long position(Blob ptrn, long start) throws SQLException
position in interface BlobSQLExceptionpublic int setBytes(long pos,
byte[] bytes)
throws SQLException
setBytes in interface BlobSQLExceptionpublic int setBytes(long pos,
byte[] bytes,
int off,
int len)
throws SQLException
setBytes in interface BlobSQLExceptionpublic OutputStream setBinaryStream(long pos) throws SQLException
setBinaryStream in interface BlobSQLExceptionpublic void truncate(long len)
throws SQLException
truncate in interface BlobSQLExceptionpublic void free()
throws SQLException
free in interface BlobSQLException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017