Class ClobLocatorOutputStream

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

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

Closing a ByteArrayInputStream 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).