public interface OBDAStatement extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
<R extends OBDAResultSet> |
execute(InputQuery<R> inputQuery) |
int |
getMaxRows() |
void |
getMoreResults() |
int |
getQueryTimeout() |
boolean |
isClosed() |
void |
setMaxRows(int max) |
void |
setQueryTimeout(int seconds)
Sets the number of seconds the driver will wait for a Statement object to
execute to the given number of seconds.
|
void cancel()
throws OntopConnectionException
OntopConnectionExceptionvoid close()
throws OntopConnectionException
close in interface AutoCloseableOntopConnectionException<R extends OBDAResultSet> R execute(InputQuery<R> inputQuery) throws OntopReformulationException, OntopQueryEvaluationException, OntopConnectionException, OntopResultConversionException
int getMaxRows()
throws OntopConnectionException
OntopConnectionExceptionvoid getMoreResults()
throws OntopConnectionException
OntopConnectionExceptionint getQueryTimeout()
throws OntopConnectionException
OntopConnectionExceptionvoid setMaxRows(int max)
throws OntopConnectionException
OntopConnectionExceptionboolean isClosed()
throws OntopConnectionException
OntopConnectionExceptionvoid setQueryTimeout(int seconds)
throws OntopConnectionException
seconds - the new query timeout limit in seconds; zero means no limit.OntopConnectionExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.