public class UpdateSensitiveBlobLocatorInputStream extends UpdateSensitiveLOBLocatorInputStream
| Modifier and Type | Field and Description |
|---|---|
private Blob |
blob |
con, currentPos, length| Constructor and Description |
|---|
UpdateSensitiveBlobLocatorInputStream(Connection con,
Blob blob)
Creates an instance of the BlobLocatorInputStream
and and calls the super class constructors with
appropriate initializers.
|
UpdateSensitiveBlobLocatorInputStream(Connection con,
Blob blob,
long position,
long length)
Creates an instance of the BlobLocatorInputStream.
|
| 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 Blob blob
public UpdateSensitiveBlobLocatorInputStream(Connection con, Blob blob) throws SqlException
con - connection to be used to read the
Blob value from the serverblob - Blob object that contains locator for
the Blob value on the server.SqlException - If any exception occurs during stream
creation.public UpdateSensitiveBlobLocatorInputStream(Connection con, Blob blob, long position, long length) throws SqlException
con - connection to be used to read the
Blob value from the serverblob - Blob object that contains locator for
the Blob value on the server.position - the position in the Blob of the first
byte to read.length - the maximum number of bytes to read from
the Blob.SqlException - If any exception occurs during stream
creation.protected java.io.InputStream reCreateStream()
throws SqlException
reCreateStream in class UpdateSensitiveLOBLocatorInputStreamSqlException - If any exception occurs while
re-creating the underlying streams.Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.