public interface OWLConnection extends AutoCloseable
OWLStatement) . Having explicit OWLConnections
allows to initialize a single OWLReasoner and make multiple queries in
parallel with good performance (as with JDBC).
Besides parallel connections, at the moment, the class is not very useful, it will be when transactions and updates are implemented. Or when we allow the user to setup the kind of statement that he wants to use.
OWLStatement| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
OWLStatement |
createStatement() |
boolean |
getAutoCommit() |
boolean |
isClosed() |
void |
rollBack() |
void |
setAutoCommit(boolean autocommit) |
OWLStatement createStatement() 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.OWLExceptionboolean isClosed()
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionvoid commit()
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionvoid setAutoCommit(boolean autocommit)
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionboolean getAutoCommit()
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionvoid rollBack()
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.