public class UpdateSensitiveClobLocatorInputStream extends UpdateSensitiveLOBLocatorInputStream
| Modifier and Type | Field and Description |
|---|---|
private Clob |
clob |
con, currentPos, length| Constructor and Description |
|---|
UpdateSensitiveClobLocatorInputStream(Connection con,
Clob 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 and Description |
|---|---|
protected java.io.InputStream |
reCreateStream()
Re-creates the underlying Locator stream
with the current position and the length
values if specified.
|
close, read, readprivate Clob clob
public UpdateSensitiveClobLocatorInputStream(Connection con, Clob 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 UpdateSensitiveLOBLocatorInputStreamSqlExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.