public class BackgroundGraphResult extends org.eclipse.rdf4j.common.iteration.IterationWrapper<Statement,QueryEvaluationException> implements GraphQueryResult, Runnable, RDFHandler
wrappedIter| Constructor and Description |
|---|
BackgroundGraphResult(QueueCursor<Statement> queue,
RDFParser parser,
InputStream in,
Charset charset,
String baseURI) |
BackgroundGraphResult(RDFParser parser,
InputStream in,
Charset charset,
String baseURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRDF() |
Map<String,String> |
getNamespaces()
Retrieves relevant namespaces from the query result.
|
protected void |
handleClose() |
void |
handleComment(String comment) |
void |
handleNamespace(String prefix,
String uri) |
void |
handleStatement(Statement st) |
boolean |
hasNext() |
Statement |
next() |
void |
remove() |
void |
run() |
void |
startRDF() |
close, isClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic BackgroundGraphResult(RDFParser parser, InputStream in, Charset charset, String baseURI)
public BackgroundGraphResult(QueueCursor<Statement> queue, RDFParser parser, InputStream in, Charset charset, String baseURI)
public boolean hasNext()
throws QueryEvaluationException
hasNext in interface org.eclipse.rdf4j.common.iteration.Iteration<Statement,QueryEvaluationException>hasNext in class org.eclipse.rdf4j.common.iteration.IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionpublic Statement next() throws QueryEvaluationException
next in interface org.eclipse.rdf4j.common.iteration.Iteration<Statement,QueryEvaluationException>next in class org.eclipse.rdf4j.common.iteration.IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionpublic void remove()
throws QueryEvaluationException
remove in interface org.eclipse.rdf4j.common.iteration.Iteration<Statement,QueryEvaluationException>remove in class org.eclipse.rdf4j.common.iteration.IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionprotected void handleClose()
throws QueryEvaluationException
handleClose in class org.eclipse.rdf4j.common.iteration.IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionpublic void startRDF()
throws RDFHandlerException
startRDF in interface RDFHandlerRDFHandlerExceptionpublic Map<String,String> getNamespaces()
GraphQueryResultgetNamespaces in interface GraphQueryResultpublic void handleComment(String comment) throws RDFHandlerException
handleComment in interface RDFHandlerRDFHandlerExceptionpublic void handleNamespace(String prefix, String uri) throws RDFHandlerException
handleNamespace in interface RDFHandlerRDFHandlerExceptionpublic void handleStatement(Statement st) throws RDFHandlerException
handleStatement in interface RDFHandlerRDFHandlerExceptionpublic void endRDF()
throws RDFHandlerException
endRDF in interface RDFHandlerRDFHandlerExceptionCopyright © 2015-2017 Eclipse Foundation. All Rights Reserved.