Package org.teiid.client.lob
Interface LobChunkProducer
-
- All Known Implementing Classes:
StreamingLobChunckProducer
public interface LobChunkProducer
An interface for generating or producing the LobChunks from a remote or local location. A LobChunk is part or whole of a LOB (clob, blob, xml) object.- See Also:
LobChunk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close the underlaying stream of producing the chunksLobChunk
getNextChunk()
Gets the next LobChunk from the source, based on the chunk size configured
-
-
-
Method Detail
-
getNextChunk
LobChunk getNextChunk() throws IOException
Gets the next LobChunk from the source, based on the chunk size configured- Returns:
- LobChunk at position in the streamble object.
- Throws:
IOException
-
close
void close() throws IOException
Close the underlaying stream of producing the chunks- Throws:
IOException
-
-