public class JDBCBlobLocatorInputStream extends java.io.InputStream implements DatabaseLOBDataCallback
| Constructor and Description |
|---|
JDBCBlobLocatorInputStream(DatabaseConnection conn,
DatabaseRetrieveLOBDataAttributes attribs,
long length) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getLOBBuffer() |
void |
newLOBData(int ccsid,
int length) |
void |
newLOBLength(long length) |
void |
newLOBSegment(byte[] buffer,
int offset,
int length) |
int |
read() |
void |
setLOBBuffer(byte[] buf) |
public JDBCBlobLocatorInputStream(DatabaseConnection conn, DatabaseRetrieveLOBDataAttributes attribs, long length)
public void newLOBLength(long length)
newLOBLength in interface DatabaseLOBDataCallbackpublic void newLOBData(int ccsid,
int length)
newLOBData in interface DatabaseLOBDataCallbackpublic byte[] getLOBBuffer()
getLOBBuffer in interface DatabaseLOBDataCallbackpublic void setLOBBuffer(byte[] buf)
setLOBBuffer in interface DatabaseLOBDataCallbackpublic void newLOBSegment(byte[] buffer,
int offset,
int length)
newLOBSegment in interface DatabaseLOBDataCallbackpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException