public class DefaultOntopOWLConnection extends Object implements OntopOWLConnection
| Constructor and Description |
|---|
DefaultOntopOWLConnection(it.unibz.inf.ontop.answering.connection.OntopConnection conn,
it.unibz.inf.ontop.answering.reformulation.input.InputQueryFactory inputQueryFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases the connection object
|
void |
commit() |
OntopOWLStatement |
createStatement() |
boolean |
getAutoCommit() |
boolean |
isClosed() |
void |
rollBack() |
void |
setAutoCommit(boolean autocommit) |
public DefaultOntopOWLConnection(it.unibz.inf.ontop.answering.connection.OntopConnection conn,
it.unibz.inf.ontop.answering.reformulation.input.InputQueryFactory inputQueryFactory)
public OntopOWLStatement createStatement() throws org.semanticweb.owlapi.model.OWLException
createStatement in interface OntopOWLConnectioncreateStatement in interface OWLConnectionorg.semanticweb.owlapi.model.OWLExceptionpublic void close()
throws org.semanticweb.owlapi.model.OWLException
close in interface OWLConnectionclose in interface AutoCloseableorg.semanticweb.owlapi.model.OWLExceptionpublic boolean isClosed()
throws org.semanticweb.owlapi.model.OWLException
isClosed in interface OWLConnectionorg.semanticweb.owlapi.model.OWLExceptionpublic void commit()
throws org.semanticweb.owlapi.model.OWLException
commit in interface OWLConnectionorg.semanticweb.owlapi.model.OWLExceptionpublic void setAutoCommit(boolean autocommit)
throws org.semanticweb.owlapi.model.OWLException
setAutoCommit in interface OWLConnectionorg.semanticweb.owlapi.model.OWLExceptionpublic boolean getAutoCommit()
throws org.semanticweb.owlapi.model.OWLException
getAutoCommit in interface OWLConnectionorg.semanticweb.owlapi.model.OWLExceptionpublic void rollBack()
throws org.semanticweb.owlapi.model.OWLException
rollBack in interface OWLConnectionorg.semanticweb.owlapi.model.OWLExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.