public interface OWLStatement extends AutoCloseable
Performance Note that you should not create multiple
statements over the same connection to execute parallel queries (see
DefaultOntopOWLConnection). Multiple statements over the same connection are
not going to be very useful until we support updates (then statements will
allow to implement transactions in the same way as JDBC Statements).
Initial @author Mariano Rodriguez Muro
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
BooleanOWLResultSet |
executeAskQuery(String query) |
GraphOWLResultSet |
executeConstructQuery(String query) |
GraphOWLResultSet |
executeDescribeQuery(String query) |
GraphOWLResultSet |
executeGraphQuery(String query) |
TupleOWLResultSet |
executeSelectQuery(String query) |
long |
getTupleCount(String query) |
boolean |
isClosed() |
void |
setQueryTimeout(int seconds) |
void cancel()
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionvoid close()
throws org.semanticweb.owlapi.model.OWLException
close in interface AutoCloseableorg.semanticweb.owlapi.model.OWLExceptionTupleOWLResultSet executeSelectQuery(String query) throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionBooleanOWLResultSet executeAskQuery(String query) throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionGraphOWLResultSet executeConstructQuery(String query) throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionGraphOWLResultSet executeDescribeQuery(String query) throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionGraphOWLResultSet executeGraphQuery(String query) throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionboolean isClosed()
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionvoid setQueryTimeout(int seconds)
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionlong getTupleCount(String query) throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.