public class SQLConnection extends Object implements OntopConnection
| Constructor and Description |
|---|
SQLConnection(JDBCConnector jdbcConnector,
it.unibz.inf.ontop.answering.reformulation.QueryReformulator queryProcessor,
Connection connection,
it.unibz.inf.ontop.model.term.TermFactory termFactory,
org.apache.commons.rdf.api.RDF rdfFactory,
it.unibz.inf.ontop.substitution.SubstitutionFactory substitutionFactory,
JDBCStatementInitializer statementInitializer,
OntopSystemSQLSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
OntopStatement |
createStatement() |
boolean |
getAutoCommit() |
it.unibz.inf.ontop.answering.reformulation.input.InputQueryFactory |
getInputQueryFactory() |
boolean |
isClosed() |
void |
rollBack() |
void |
setAutoCommit(boolean autocommit) |
public SQLConnection(JDBCConnector jdbcConnector, it.unibz.inf.ontop.answering.reformulation.QueryReformulator queryProcessor, Connection connection, it.unibz.inf.ontop.model.term.TermFactory termFactory, org.apache.commons.rdf.api.RDF rdfFactory, it.unibz.inf.ontop.substitution.SubstitutionFactory substitutionFactory, JDBCStatementInitializer statementInitializer, OntopSystemSQLSettings settings)
public void close()
throws OntopConnectionException
close in interface OBDAConnectionclose in interface AutoCloseableOntopConnectionExceptionpublic OntopStatement createStatement() throws OntopConnectionException
createStatement in interface OBDAConnectioncreateStatement in interface OntopConnectionOntopConnectionExceptionpublic it.unibz.inf.ontop.answering.reformulation.input.InputQueryFactory getInputQueryFactory()
getInputQueryFactory in interface OntopConnectionpublic void commit()
throws OntopConnectionException
commit in interface OBDAConnectionOntopConnectionExceptionpublic void setAutoCommit(boolean autocommit)
throws OntopConnectionException
setAutoCommit in interface OBDAConnectionOntopConnectionExceptionpublic boolean getAutoCommit()
throws OntopConnectionException
getAutoCommit in interface OBDAConnectionOntopConnectionExceptionpublic boolean isClosed()
throws OntopConnectionException
isClosed in interface OBDAConnectionOntopConnectionExceptionpublic void rollBack()
throws OntopConnectionException
rollBack in interface OBDAConnectionOntopConnectionExceptionCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.