E - The generic type of the elements visited by the source iterator.public interface RemoteAsynchronousIterator<E> extends Remote
Remote interface declaring the API of IAsynchronousIterator
but also declaring that each methods throws IOException in order to
be compatible with Remote and Exporter. Of course, this
means that this interface can not extend IAsynchronousIterator!
Note: In practice, IAsynchronousIterators are declared with an array
type. There are two main uses: transferring IBindingSet[]s between
JoinTasks and transferring ISolution[]s from the last join
dimension back to the client.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RemoteAsynchronousIterator.RemoteElement<E>
Used to send an serialized element together with the object that knows
how to de-serialize the element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
boolean |
hasNext(long timeout,
TimeUnit unit) |
boolean |
isExhausted() |
E |
next() |
E |
next(long timeout,
TimeUnit unit) |
RemoteAsynchronousIterator.RemoteElement<E> |
nextElement()
Method applies a custom serializer to the value returned by
next() and returns a RemoteAsynchronousIterator.RemoteElement that can be
transported by RMI and which knows how to de-serialize the element on the
other end. |
void |
remove() |
boolean hasNext()
throws IOException
IOExceptionIterator.hasNext()E next() throws IOException
IOExceptionIterator.next()RemoteAsynchronousIterator.RemoteElement<E> nextElement() throws IOException
next() and returns a RemoteAsynchronousIterator.RemoteElement that can be
transported by RMI and which knows how to de-serialize the element on the
other end.IOExceptionvoid remove()
throws IOException
IOExceptionIterator.remove()void close()
throws IOException
IOExceptionICloseableIterator.close()boolean isExhausted()
throws IOException
IOExceptionIAsynchronousIterator.isExhausted()boolean hasNext(long timeout,
TimeUnit unit)
throws IOException,
InterruptedException
E next(long timeout, TimeUnit unit) throws IOException, InterruptedException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.