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
LobChunkProducer
getNextChunk
in interface LobChunkProducer
IOException
public void close() throws IOException
LobChunkProducer
close
in interface LobChunkProducer
IOException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.