com.metamatrix.dqp.client.impl
Class StreamingLobChunckProducer

java.lang.Object
  extended by com.metamatrix.dqp.client.impl.StreamingLobChunckProducer
All Implemented Interfaces:
LobChunkProducer

public class StreamingLobChunckProducer
extends java.lang.Object
implements LobChunkProducer


Nested Class Summary
static class StreamingLobChunckProducer.Factory
           
 
Constructor Summary
StreamingLobChunckProducer(ClientSideDQP dqp, long requestId, Streamable streamable)
           
 
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
 

Constructor Detail

StreamingLobChunckProducer

public StreamingLobChunckProducer(ClientSideDQP dqp,
                                  long requestId,
                                  Streamable streamable)
Method Detail

getNextChunk

public LobChunk getNextChunk()
                      throws java.io.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:
java.io.IOException

close

public void close()
           throws java.io.IOException
Description copied from interface: LobChunkProducer
Close the underlaying stream of producing the chunks

Specified by:
close in interface LobChunkProducer
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.