public class PgBlob extends AbstractBlobClob implements java.sql.Blob
conn| Constructor and Description |
|---|
PgBlob(BaseConnection conn,
long oid) |
| Modifier and Type | Method and Description |
|---|---|
java.io.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, truncatepublic PgBlob(BaseConnection conn, long oid) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.io.InputStream getBinaryStream(long pos,
long length)
throws java.sql.SQLException
getBinaryStream in interface java.sql.Blobjava.sql.SQLExceptionpublic int setBytes(long pos,
byte[] bytes)
throws java.sql.SQLException
setBytes in interface java.sql.Blobjava.sql.SQLExceptionpublic int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws java.sql.SQLException
setBytes in interface java.sql.Blobjava.sql.SQLException