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.QueryEvaluationException
public 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.QueryEvaluationException
public 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.QueryEvaluationException
public 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.QueryEvaluationException
public void startRDF() throws org.openrdf.rio.RDFHandlerException
startRDF
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public Map<String,String> getNamespaces()
getNamespaces
in interface org.openrdf.query.GraphQueryResult
public void handleComment(String comment) throws org.openrdf.rio.RDFHandlerException
handleComment
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void handleNamespace(String prefix, String uri) throws org.openrdf.rio.RDFHandlerException
handleNamespace
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void handleStatement(org.openrdf.model.Statement st) throws org.openrdf.rio.RDFHandlerException
handleStatement
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void endRDF() throws org.openrdf.rio.RDFHandlerException
endRDF
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.