public class BackgroundGraphResult extends 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() |
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 Iteration<Statement,QueryEvaluationException>hasNext in class IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionpublic Statement next() throws QueryEvaluationException
next in interface Iteration<Statement,QueryEvaluationException>next in class IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionpublic void remove()
throws QueryEvaluationException
remove in interface Iteration<Statement,QueryEvaluationException>remove in class IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionprotected void handleClose()
throws QueryEvaluationException
handleClose in class IterationWrapper<Statement,QueryEvaluationException>QueryEvaluationExceptionpublic void startRDF()
throws RDFHandlerException
startRDF in interface RDFHandlerRDFHandlerExceptionpublic Map<String,String> getNamespaces()
getNamespaces 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 © 2001-2015 Aduna. All Rights Reserved.