org.postgresql.jdbc
Class PgBlob
java.lang.Object
org.postgresql.jdbc.AbstractBlobClob
org.postgresql.jdbc.PgBlob
- All Implemented Interfaces:
- Blob
public class PgBlob
- extends AbstractBlobClob
- implements Blob
| Methods inherited from class org.postgresql.jdbc.AbstractBlobClob |
addSubLO, assertPosition, assertPosition, checkFreed, free, getBinaryStream, getBytes, getLo, length, position, position, setBinaryStream, truncate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PgBlob
public PgBlob(BaseConnection conn,
long oid)
throws SQLException
- Throws:
SQLException
getBinaryStream
public InputStream getBinaryStream(long pos,
long length)
throws SQLException
- Specified by:
getBinaryStream in interface Blob
- Throws:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes)
throws SQLException
- Specified by:
setBytes in interface Blob
- Throws:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
- Specified by:
setBytes in interface Blob
- Throws:
SQLException
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.