Constructor and Description |
---|
NanoSparqlClient.QueryTask(NanoSparqlClient.QueryOptions opts) |
Modifier and Type | Method and Description |
---|---|
protected org.openrdf.model.Graph |
buildGraph(HttpURLConnection conn)
Builds a graph from an RDF result set (statements, not binding sets).
|
Void |
call() |
protected long |
countResults(HttpURLConnection conn)
Counts the #of results in a SPARQL result set.
|
protected void |
showResults(HttpURLConnection conn)
Write the response body on stdout.
|
public NanoSparqlClient.QueryTask(NanoSparqlClient.QueryOptions opts)
opts
- The query options.protected void showResults(HttpURLConnection conn) throws Exception
conn
- The connection.Exception
protected long countResults(HttpURLConnection conn) throws Exception
conn
- The connection from which to read the results.Exception
- If anything goes wrong.protected org.openrdf.model.Graph buildGraph(HttpURLConnection conn) throws Exception
conn
- The connection from which to read the results.Exception
- If anything goes wrong.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.