java.io.Closeable
, java.lang.AutoCloseable
class UpdateSensitiveBlobLocatorInputStream extends UpdateSensitiveLOBLocatorInputStream
Modifier and Type | Field | Description |
---|---|---|
private ClientBlob |
blob |
con, currentPos, length
Constructor | 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 | 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 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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.