public class PgBlob extends AbstractBlobClob implements Blob
conn| Constructor and Description |
|---|
PgBlob(BaseConnection conn,
long oid) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getBinaryStream(long pos,
long length) |
int |
setBytes(long pos,
byte[] bytes) |
int |
setBytes(long pos,
byte[] bytes,
int offset,
int len) |
addSubLO, assertPosition, assertPosition, checkFreed, free, getBinaryStream, getBytes, getLo, length, position, position, setBinaryStream, truncateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfree, getBinaryStream, getBytes, length, position, position, setBinaryStream, truncatepublic PgBlob(BaseConnection conn, long oid) throws SQLException
SQLExceptionpublic InputStream getBinaryStream(long pos, long length) throws SQLException
getBinaryStream in interface BlobSQLExceptionpublic int setBytes(long pos,
byte[] bytes)
throws SQLException
setBytes in interface BlobSQLExceptionpublic int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
setBytes in interface BlobSQLExceptionCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.