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, truncate
public PgBlob(BaseConnection conn, long oid) throws java.sql.SQLException
java.sql.SQLException
public java.io.InputStream getBinaryStream(long pos, long length) throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
java.sql.SQLException
public int setBytes(long pos, byte[] bytes) throws java.sql.SQLException
setBytes
in interface java.sql.Blob
java.sql.SQLException
public int setBytes(long pos, byte[] bytes, int offset, int len) throws java.sql.SQLException
setBytes
in interface java.sql.Blob
java.sql.SQLException