public class KiWiReasoningPersistence extends Object
| Constructor and Description |
|---|
KiWiReasoningPersistence(KiWiPersistence persistence,
org.openrdf.model.ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
dropDatabase()
Drop the versioning tables; this method must be called before the dropDatabase method of the underlying
KiWiPersistence is called.
|
KiWiReasoningConnection |
getConnection()
Return a connection from the connection pool which already has the auto-commit disabled.
|
KiWiDialect |
getDialect() |
void |
initDatabase()
Initialise the database, creating or upgrading tables if they do not exist or are of the wrong version.
|
public KiWiReasoningPersistence(KiWiPersistence persistence, org.openrdf.model.ValueFactory valueFactory)
public void initDatabase()
throws SQLException
SQLExceptionpublic void dropDatabase()
throws SQLException
SQLExceptionpublic KiWiReasoningConnection getConnection() throws SQLException
SQLException - in case a new connection could not be establishedpublic KiWiDialect getDialect()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.