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) |
void |
run() |
void |
startRDF() |
hasNext, next, removeclose, isClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosehasNext, next, removepublic BackgroundGraphResult(RDFParser parser, InputStream in, Charset charset, String baseURI)
public BackgroundGraphResult(QueueCursor<Statement> queue, RDFParser parser, InputStream in, Charset charset, String baseURI)
protected 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.