public abstract class QuestStatement extends Object implements OntopStatement
| Constructor and Description |
|---|
QuestStatement(QueryReformulator queryProcessor,
InputQueryFactory inputQueryFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
protected abstract void |
cancelExecution()
Cancel the processing of the target query.
|
<R extends OBDAResultSet> |
execute(InputQuery<R> inputQuery)
Calls the necessary tuple or graph query execution Implements describe
uri or var logic Returns the result set for the given query
|
protected abstract BooleanResultSet |
executeBooleanQuery(it.unibz.inf.ontop.iq.IQ executableQuery,
QueryLogger queryLogger) |
protected abstract SimpleGraphResultSet |
executeGraphQuery(ConstructQuery query,
it.unibz.inf.ontop.iq.IQ executableQuery,
boolean collectResults,
QueryLogger queryLogger)
TODO: refactor
|
protected abstract TupleResultSet |
executeSelectQuery(it.unibz.inf.ontop.iq.IQ executableQuery,
QueryLogger queryLogger) |
it.unibz.inf.ontop.iq.IQ |
getExecutableQuery(InputQuery inputQuery) |
String |
getRewritingRendering(InputQuery query) |
boolean |
isCanceled()
Called to check whether the statement was cancelled on purpose
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTupleCountclose, getMaxRows, getMoreResults, getQueryTimeout, isClosed, setMaxRows, setQueryTimeoutpublic QuestStatement(QueryReformulator queryProcessor, InputQueryFactory inputQueryFactory)
protected abstract TupleResultSet executeSelectQuery(it.unibz.inf.ontop.iq.IQ executableQuery, QueryLogger queryLogger) throws OntopQueryEvaluationException
OntopQueryEvaluationExceptionprotected abstract BooleanResultSet executeBooleanQuery(it.unibz.inf.ontop.iq.IQ executableQuery, QueryLogger queryLogger) throws OntopQueryEvaluationException
OntopQueryEvaluationExceptionprotected abstract SimpleGraphResultSet executeGraphQuery(ConstructQuery query, it.unibz.inf.ontop.iq.IQ executableQuery, boolean collectResults, QueryLogger queryLogger) throws OntopQueryEvaluationException, OntopResultConversionException, OntopConnectionException
protected abstract void cancelExecution()
throws OntopQueryEvaluationException
OntopQueryEvaluationExceptionpublic <R extends OBDAResultSet> R execute(InputQuery<R> inputQuery) throws OntopConnectionException, OntopReformulationException, OntopQueryEvaluationException, OntopResultConversionException
execute in interface OBDAStatementOntopConnectionExceptionOntopReformulationExceptionOntopQueryEvaluationExceptionOntopResultConversionExceptionpublic void cancel()
throws OntopConnectionException
cancel in interface OBDAStatementOntopConnectionExceptionpublic boolean isCanceled()
public String getRewritingRendering(InputQuery query) throws OntopReformulationException
getRewritingRendering in interface OntopStatementOntopReformulationExceptionpublic it.unibz.inf.ontop.iq.IQ getExecutableQuery(InputQuery inputQuery) throws OntopReformulationException
getExecutableQuery in interface OntopStatementOntopReformulationExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.