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, IAsynchronousIterator
s are declared with an array
type. There are two main uses: transferring IBindingSet
[]s between
JoinTask
s 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
IOException
Iterator.hasNext()
E next() throws IOException
IOException
Iterator.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.IOException
void remove() throws IOException
IOException
Iterator.remove()
void close() throws IOException
IOException
ICloseableIterator.close()
boolean isExhausted() throws IOException
IOException
IAsynchronousIterator.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.