public abstract class QuestStatement extends Object implements OntopStatement
| Constructor and Description |
|---|
QuestStatement(QueryReformulator queryProcessor) |
| 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
|
<R extends OBDAResultSet> |
execute(InputQuery<R> inputQuery,
it.unibz.inf.ontop.com.google.common.collect.ImmutableMultimap<String,String> httpHeaders) |
GraphResultSet |
executeConstructQuery(ConstructTemplate constructTemplate,
it.unibz.inf.ontop.iq.IQ executableQuery,
QueryLogger queryLogger) |
protected abstract GraphResultSet |
executeConstructQuery(ConstructTemplate constructTemplate,
it.unibz.inf.ontop.iq.IQ executableQuery,
QueryLogger queryLogger,
boolean shouldAlsoCloseStatement) |
protected GraphResultSet |
executeDescribeQuery(DescribeQuery describeQuery,
QueryLogger queryLogger) |
TupleResultSet |
executeSelectQuery(it.unibz.inf.ontop.iq.IQ executableQuery,
QueryLogger queryLogger) |
protected abstract TupleResultSet |
executeSelectQuery(it.unibz.inf.ontop.iq.IQ executableQuery,
QueryLogger queryLogger,
boolean shouldAlsoCloseStatement) |
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, waitexecuteBooleanQuery, getTupleCountclose, getMaxRows, getMoreResults, getQueryTimeout, isClosed, setMaxRows, setQueryTimeoutpublic QuestStatement(QueryReformulator queryProcessor)
public TupleResultSet executeSelectQuery(it.unibz.inf.ontop.iq.IQ executableQuery, QueryLogger queryLogger) throws OntopQueryEvaluationException
executeSelectQuery in interface OntopStatementOntopQueryEvaluationExceptionprotected abstract TupleResultSet executeSelectQuery(it.unibz.inf.ontop.iq.IQ executableQuery, QueryLogger queryLogger, boolean shouldAlsoCloseStatement) throws OntopQueryEvaluationException
OntopQueryEvaluationExceptionpublic GraphResultSet executeConstructQuery(ConstructTemplate constructTemplate, it.unibz.inf.ontop.iq.IQ executableQuery, QueryLogger queryLogger) throws OntopQueryEvaluationException, OntopResultConversionException, OntopConnectionException
executeConstructQuery in interface OntopStatementOntopQueryEvaluationExceptionOntopResultConversionExceptionOntopConnectionExceptionprotected abstract GraphResultSet executeConstructQuery(ConstructTemplate constructTemplate, it.unibz.inf.ontop.iq.IQ executableQuery, QueryLogger queryLogger, boolean shouldAlsoCloseStatement) throws OntopQueryEvaluationException, OntopResultConversionException, OntopConnectionException
protected GraphResultSet executeDescribeQuery(DescribeQuery describeQuery, QueryLogger queryLogger) throws OntopQueryEvaluationException, OntopConnectionException, OntopReformulationException, OntopResultConversionException
protected abstract void cancelExecution()
throws OntopQueryEvaluationException
OntopQueryEvaluationExceptionpublic <R extends OBDAResultSet> R execute(InputQuery<R> inputQuery) throws OntopConnectionException, OntopReformulationException, OntopQueryEvaluationException, OntopResultConversionException
execute in interface OBDAStatementOntopConnectionExceptionOntopReformulationExceptionOntopQueryEvaluationExceptionOntopResultConversionExceptionpublic <R extends OBDAResultSet> R execute(InputQuery<R> inputQuery, it.unibz.inf.ontop.com.google.common.collect.ImmutableMultimap<String,String> httpHeaders) 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–2021 Free University of Bozen-Bolzano. All rights reserved.