com.ibm.jtopenlite.database.jdbc
Class JDBCBlob
java.lang.Object
com.ibm.jtopenlite.database.jdbc.JDBCBlob
- All Implemented Interfaces:
- Blob
public class JDBCBlob
- extends Object
- implements Blob
|
Constructor Summary |
JDBCBlob(byte[] data,
int offset,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCBlob
public JDBCBlob(byte[] data,
int offset,
int len)
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
- Throws:
SQLException
getBytes
public byte[] getBytes(long pos,
int length)
throws SQLException
- Throws:
SQLException
length
public long length()
throws SQLException
- Throws:
SQLException
position
public long position(Blob pattern,
long start)
throws SQLException
- Throws:
SQLException
position
public long position(byte[] pattern,
long start)
throws SQLException
- Throws:
SQLException
setBinaryStream
public OutputStream setBinaryStream(long pos)
throws SQLException
- Throws:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes)
throws SQLException
- Throws:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
- Throws:
SQLException
truncate
public void truncate(long len)
throws SQLException
- Throws:
SQLException