Class BlobLocatorOutputStream

java.lang.Object
java.io.OutputStream
org.apache.derby.client.am.BlobLocatorOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

class BlobLocatorOutputStream extends OutputStream
An OutputStream that will use an locator to write bytes to the Blob value on the server.

Closing a BlobLocatorOutputStream has no effect. The methods in this class can be called after the stream has been closed without generating an IOException.

This OutputStream implementation is pretty basic. No buffering of data is done. Hence, for efficiency #write(byte[]) should be used instead of #write(int).