@Service(value=QueryEngine.class) public class JenaSparqlEngine extends Object implements QueryEngine
Constructor and Description |
---|
JenaSparqlEngine() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(TcManager tcManager,
TripleCollection defaultGraph,
Query query)
Executes any sparql query.
|
Object |
execute(TcManager tcManager,
TripleCollection defaultGraph,
String query)
Executes any sparql query.
|
public Object execute(TcManager tcManager, TripleCollection defaultGraph, Query query)
QueryEngine
execute
in interface QueryEngine
tcManager
- where the query originates.defaultGraph
- the default graph against which to execute the query if no
FROM clause is presentquery
- Query object to be executedpublic Object execute(TcManager tcManager, TripleCollection defaultGraph, String query)
QueryEngine
execute
in interface QueryEngine
tcManager
- where the query originates.defaultGraph
- the default graph against which to execute the query if no
FROM clause is presentquery
- string to be executed.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.