public class SPARQLExecutor extends Object
SPARQL and this class. This becomes tedious to keep clean, especially when both share the same (hardcopied) code.
Please consider merging the functionality in favor of SPARQL or ThreadedSPARQL| Constructor | Description |
|---|---|
SPARQLExecutor() |
| Modifier and Type | Method | Description |
|---|---|---|
static Boolean |
executeAsk(String query,
String endpoint) |
|
static Results |
executeSelect(String query,
String endpoint) |
|
private static BufferedReader |
getReader(String endpoint) |
|
static boolean |
isEndpointAlive(String endpoint) |
|
private static Results |
processSelectResults(String results) |
|
private static String |
readAll(BufferedReader reader) |
|
static Set<org.apache.jena.rdf.model.RDFNode> |
sparql(String service,
String query) |
Deprecated.
|
public static boolean isEndpointAlive(String endpoint)
private static Results processSelectResults(String results) throws ParserConfigurationException, SAXException, IOException
private static String readAll(BufferedReader reader) throws IOException
IOExceptionprivate static BufferedReader getReader(String endpoint) throws IOException
IOException@Deprecated public static Set<org.apache.jena.rdf.model.RDFNode> sparql(String service, String query)
SPARQL.sparql(String). Please consider using this, or even ThreadedSPARQLservice - query - Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.