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, truncate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
free, getBinaryStream, getBytes, length, position, position, setBinaryStream, truncate
public PgBlob(BaseConnection conn, long oid) throws SQLException
SQLException
public InputStream getBinaryStream(long pos, long length) throws SQLException
getBinaryStream
in interface Blob
SQLException
public int setBytes(long pos, byte[] bytes) throws SQLException
setBytes
in interface Blob
SQLException
public int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException
setBytes
in interface Blob
SQLException
Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.