com.ibm.jtopenlite.database.jdbc
Class JDBCBlobLocatorInputStream
java.lang.Object
java.io.InputStream
com.ibm.jtopenlite.database.jdbc.JDBCBlobLocatorInputStream
- All Implemented Interfaces:
- DatabaseLOBDataCallback, Closeable
public class JDBCBlobLocatorInputStream
- extends InputStream
- implements DatabaseLOBDataCallback
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCBlobLocatorInputStream
public JDBCBlobLocatorInputStream(DatabaseConnection conn,
DatabaseRetrieveLOBDataAttributes attribs,
long length)
newLOBLength
public void newLOBLength(long length)
- Specified by:
newLOBLength in interface DatabaseLOBDataCallback
newLOBData
public void newLOBData(int ccsid,
int length)
- Specified by:
newLOBData in interface DatabaseLOBDataCallback
getLOBBuffer
public byte[] getLOBBuffer()
- Specified by:
getLOBBuffer in interface DatabaseLOBDataCallback
newLOBSegment
public void newLOBSegment(byte[] buffer,
int offset,
int length)
- Specified by:
newLOBSegment in interface DatabaseLOBDataCallback
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException