Package org.h2.store
Class LobStorageRemoteInputStream
java.lang.Object
java.io.InputStream
org.h2.store.LobStorageRemoteInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
An input stream used by the client side of a tcp connection to fetch LOB data
on demand from the server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]
private final long
The lob id.private long
The position.private final SessionRemote
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
sessionRemote
-
lobId
private final long lobIdThe lob id. -
hmac
private final byte[] hmac -
pos
private long posThe position.
-
-
Constructor Details
-
LobStorageRemoteInputStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-