org.teiid.client.lob
Class StreamingLobChunckProducer
java.lang.Object
org.teiid.client.lob.StreamingLobChunckProducer
- All Implemented Interfaces:
- LobChunkProducer
public class StreamingLobChunckProducer
- extends Object
- implements LobChunkProducer
Method Summary |
void |
close()
Close the underlaying stream of producing the chunks |
LobChunk |
getNextChunk()
Gets the next LobChunk from the source, based on the chunk size configured |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingLobChunckProducer
public StreamingLobChunckProducer(DQP dqp,
long requestId,
Streamable<?> streamable)
getNextChunk
public LobChunk getNextChunk()
throws IOException
- Description copied from interface:
LobChunkProducer
- Gets the next LobChunk from the source, based on the chunk size configured
- Specified by:
getNextChunk
in interface LobChunkProducer
- Returns:
- LobChunk at position in the streamble object.
- Throws:
IOException
close
public void close()
throws IOException
- Description copied from interface:
LobChunkProducer
- Close the underlaying stream of producing the chunks
- Specified by:
close
in interface LobChunkProducer
- Throws:
IOException
Copyright © 2011. All Rights Reserved.