|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.larkc.core.query.GraphResultBase.BlockingQueueIterator
public class GraphResultBase.BlockingQueueIterator
Helper class to iterate the blocking queue used to simulate asynchrnous streaming of RDF statements.
| Constructor Summary | |
|---|---|
GraphResultBase.BlockingQueueIterator()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the current iterator and all subsequent operations will raise exception. |
boolean |
hasNext()
Checks whether the next result could be returned. |
boolean |
isClosed()
Verifies if the current iterator is closed. |
org.openrdf.model.Statement |
next()
Fetches the next result from the iterator. |
void |
remove()
Removes the current item from the iterated collection. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphResultBase.BlockingQueueIterator()
| Method Detail |
|---|
public boolean hasNext()
CloseableIterator
hasNext in interface CloseableIterator<org.openrdf.model.Statement>hasNext in interface java.util.Iterator<org.openrdf.model.Statement>public org.openrdf.model.Statement next()
CloseableIterator
next in interface CloseableIterator<org.openrdf.model.Statement>next in interface java.util.Iterator<org.openrdf.model.Statement>public void remove()
CloseableIterator
remove in interface CloseableIterator<org.openrdf.model.Statement>remove in interface java.util.Iterator<org.openrdf.model.Statement>public void close()
CloseableIterator
close in interface CloseableIterator<org.openrdf.model.Statement>public boolean isClosed()
CloseableIterator
isClosed in interface CloseableIterator<org.openrdf.model.Statement>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||