class UpdateSensitiveBlobLocatorInputStream extends UpdateSensitiveLOBLocatorInputStream
Modifier and Type | Field and Description |
---|---|
private ClientBlob |
blob |
con, currentPos, length
Constructor and Description |
---|
UpdateSensitiveBlobLocatorInputStream(ClientConnection con,
ClientBlob blob)
Creates an instance of the BlobLocatorInputStream
and and calls the super class constructors with
appropriate initializers.
|
UpdateSensitiveBlobLocatorInputStream(ClientConnection con,
ClientBlob 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, read
private ClientBlob blob
UpdateSensitiveBlobLocatorInputStream(ClientConnection con, ClientBlob 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.UpdateSensitiveBlobLocatorInputStream(ClientConnection con, ClientBlob 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 UpdateSensitiveLOBLocatorInputStream
SqlException
- If any exception occurs while
re-creating the underlying streams.Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.