public class BackgroundGraphResult extends Object implements org.openrdf.query.GraphQueryResult, Runnable, org.openrdf.rio.RDFHandler
| Constructor and Description |
|---|
BackgroundGraphResult(org.openrdf.repository.sparql.query.QueueCursor<org.openrdf.model.Statement> queue,
org.openrdf.rio.RDFParser parser,
InputStream in,
Charset charset,
String baseURI) |
BackgroundGraphResult(org.openrdf.rio.RDFParser parser,
InputStream in,
Charset charset,
String baseURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endRDF() |
Map<String,String> |
getNamespaces() |
void |
handleComment(String comment) |
void |
handleNamespace(String prefix,
String uri) |
void |
handleStatement(org.openrdf.model.Statement st) |
boolean |
hasNext() |
org.openrdf.model.Statement |
next() |
void |
remove() |
void |
run() |
void |
startRDF() |
public BackgroundGraphResult(org.openrdf.rio.RDFParser parser,
InputStream in,
Charset charset,
String baseURI)
public BackgroundGraphResult(org.openrdf.repository.sparql.query.QueueCursor<org.openrdf.model.Statement> queue,
org.openrdf.rio.RDFParser parser,
InputStream in,
Charset charset,
String baseURI)
public boolean hasNext()
throws org.openrdf.query.QueryEvaluationException
hasNext in interface info.aduna.iteration.Iteration<org.openrdf.model.Statement,org.openrdf.query.QueryEvaluationException>org.openrdf.query.QueryEvaluationExceptionpublic org.openrdf.model.Statement next()
throws org.openrdf.query.QueryEvaluationException
next in interface info.aduna.iteration.Iteration<org.openrdf.model.Statement,org.openrdf.query.QueryEvaluationException>org.openrdf.query.QueryEvaluationExceptionpublic void remove()
throws org.openrdf.query.QueryEvaluationException
remove in interface info.aduna.iteration.Iteration<org.openrdf.model.Statement,org.openrdf.query.QueryEvaluationException>org.openrdf.query.QueryEvaluationExceptionpublic void close()
throws org.openrdf.query.QueryEvaluationException
close in interface info.aduna.iteration.CloseableIteration<org.openrdf.model.Statement,org.openrdf.query.QueryEvaluationException>org.openrdf.query.QueryEvaluationExceptionpublic void startRDF()
throws org.openrdf.rio.RDFHandlerException
startRDF in interface org.openrdf.rio.RDFHandlerorg.openrdf.rio.RDFHandlerExceptionpublic Map<String,String> getNamespaces()
getNamespaces in interface org.openrdf.query.GraphQueryResultpublic void handleComment(String comment) throws org.openrdf.rio.RDFHandlerException
handleComment in interface org.openrdf.rio.RDFHandlerorg.openrdf.rio.RDFHandlerExceptionpublic void handleNamespace(String prefix, String uri) throws org.openrdf.rio.RDFHandlerException
handleNamespace in interface org.openrdf.rio.RDFHandlerorg.openrdf.rio.RDFHandlerExceptionpublic void handleStatement(org.openrdf.model.Statement st)
throws org.openrdf.rio.RDFHandlerException
handleStatement in interface org.openrdf.rio.RDFHandlerorg.openrdf.rio.RDFHandlerExceptionpublic void endRDF()
throws org.openrdf.rio.RDFHandlerException
endRDF in interface org.openrdf.rio.RDFHandlerorg.openrdf.rio.RDFHandlerExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.