com.bigdata.service.proxy
Interface IRemoteChunkedIterator<E>

Type Parameters:
E - The generic type of the elements visited by the source iterator.
All Superinterfaces:
Remote
All Known Implementing Classes:
RemoteChunkedIterator

public interface IRemoteChunkedIterator<E>
extends Remote

Interface for objects proxying for asynchronous chunked iterators. This is used to export iterators. We wrap an IChunkedIterator with an object that implements this interface, and then export a proxy for that object. On the client, we wrap the proxy so as to hide the IOExceptions and regain our original interface signature.

Version:
$Id: IRemoteChunkedIterator.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Method Summary
 void close()
          Close the remote iterator.
 IRemoteChunk<E> nextChunk()
          Return the next "chunk" from the iterator.
 

Method Detail

close

void close()
           throws IOException
Close the remote iterator.

Throws:
IOException

nextChunk

IRemoteChunk<E> nextChunk()
                          throws IOException
Return the next "chunk" from the iterator.

Returns:
The next IRemoteChunk.
Throws:
IOException


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.