java.io.Closeable
, java.lang.AutoCloseable
class UpdateSensitiveClobLocatorInputStream extends UpdateSensitiveLOBLocatorInputStream
Modifier and Type | Field | Description |
---|---|---|
private ClientClob |
clob |
con, currentPos, length
Constructor | Description |
---|---|
UpdateSensitiveClobLocatorInputStream(ClientConnection con,
ClientClob clob) |
Creates an instance of the ClobLocatorInputStream
wrapped in a BufferedInputStream and and calls the
super class constructor with appropriate initializers.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.io.InputStream |
reCreateStream() |
Re-creates the underlying Locator stream
with the current position and the length
values if specified.
|
available, mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, read, read
private ClientClob clob
UpdateSensitiveClobLocatorInputStream(ClientConnection con, ClientClob clob) throws SqlException
con
- connection to be used to read the
Clob
value from the serverclob
- Clob
object that contains locator for
the Clob
value on the server.SqlException
- If any exception occurs during stream
creation.protected java.io.InputStream reCreateStream() throws SqlException
reCreateStream
in class UpdateSensitiveLOBLocatorInputStream
SqlException
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.