public class StreamingLobChunckProducer extends Object implements LobChunkProducer
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamingLobChunckProducer.Factory |
| Constructor and Description |
|---|
StreamingLobChunckProducer(DQP dqp,
long requestId,
org.teiid.core.types.Streamable<?> streamable) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public StreamingLobChunckProducer(DQP dqp, long requestId, org.teiid.core.types.Streamable<?> streamable)
public LobChunk getNextChunk() throws IOException
LobChunkProducergetNextChunk in interface LobChunkProducerIOExceptionpublic void close()
throws IOException
LobChunkProducerclose in interface LobChunkProducerIOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.