Package org.teiid.client.lob
Class LobChunkInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.teiid.client.lob.LobChunkInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class LobChunkInputStream extends InputStream
A InputStream wrapper class for a Lob Chunks. Given a stream of Lob Chunks this class will convert those chunks into InputStream, which can be used to stream the lob data.
-
-
Constructor Summary
Constructors Constructor Description LobChunkInputStream(LobChunkProducer reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read()
-
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
-
-
-
-
Constructor Detail
-
LobChunkInputStream
public LobChunkInputStream(LobChunkProducer reader)
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
- See Also:
InputStream.close()
-
-