|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.derivo.sparqldlapi.QueryEngine
public abstract class QueryEngine
The query engine that executes a query and generates the appropriate result set.
Constructor Summary | |
---|---|
QueryEngine()
|
Method Summary | |
---|---|
static QueryEngine |
create(OWLOntologyManager manager,
OWLReasoner reasoner)
Factory method to create a QueryEngine instance. |
static QueryEngine |
create(OWLOntologyManager manager,
OWLReasoner reasoner,
boolean strict)
Factory method to create a QueryEngine instance. |
abstract QueryResult |
execute(Query query)
Execute a sparql-dl query and generate the result set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryEngine()
Method Detail |
---|
public static QueryEngine create(OWLOntologyManager manager, OWLReasoner reasoner)
manager
- An OWLOntologyManager instance of OWLAPI v3reasoner
- An OWLReasoner instance.
public static QueryEngine create(OWLOntologyManager manager, OWLReasoner reasoner, boolean strict)
manager
- An OWLOntologyManager instance of OWLAPI v3reasoner
- An OWLReasoner instance.strictMode
- If strict mode is enabled the query engine will throw a QueryEngineException if data types withing the query are not correct (e.g. Class(URI_OF_AN_INDIVIDUAL))
public abstract QueryResult execute(Query query) throws QueryEngineException
query
-
QueryEngineException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |