|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.larkc.core.query.GraphResultBase
public abstract class GraphResultBase
GraphResultBase is an abstract class to implement asynchronous streaming of RDF statements. All implementing classes must: 1. Put the next statements from the stream with results.put(X) 2. For the final statement to put results.put(new FinalStatement())
| Nested Class Summary | |
|---|---|
class |
GraphResultBase.BlockingQueueIterator
Helper class to iterate the blocking queue used to simulate asynchrnous streaming of RDF statements. |
class |
GraphResultBase.FinalStatement
Helper class to denote the end of streamed statements. |
| Constructor Summary | |
|---|---|
GraphResultBase()
|
|
| Method Summary | |
|---|---|
void |
close()
|
CloseableIterator<org.openrdf.model.Statement> |
getStatements()
Iterates the statements. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.larkc.core.data.InformationSet |
|---|
toRDF |
| Constructor Detail |
|---|
public GraphResultBase()
| Method Detail |
|---|
public void close()
public CloseableIterator<org.openrdf.model.Statement> getStatements()
SetOfStatements
getStatements in interface SetOfStatements
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||