public class DerbyConfigurationStore extends AbstractJDBCConfigurationStore implements org.apache.qpid.server.store.MessageStoreProvider, org.apache.qpid.server.store.DurableConfigurationStore
AbstractJDBCConfigurationStore.State| Constructor and Description |
|---|
DerbyConfigurationStore(Class<? extends ConfiguredObject> rootClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConfigurationStore() |
protected String |
getBlobAsString(ResultSet rs,
int col) |
Connection |
getConnection() |
protected org.slf4j.Logger |
getLogger() |
org.apache.qpid.server.store.MessageStore |
getMessageStore() |
org.apache.qpid.server.store.preferences.PreferenceStore |
getPreferenceStore() |
protected String |
getSqlBigIntType() |
protected String |
getSqlBlobStorage(String columnName) |
protected String |
getSqlBlobType() |
protected String |
getSqlVarBinaryType(int size) |
void |
init(ConfiguredObject<?> parent) |
void |
onDelete(ConfiguredObject<?> parent) |
protected boolean |
tableExists(String tableName,
Connection conn) |
void |
upgradeStoreStructure() |
addDeleteAction, assertState, changeState, create, createOrOpenConfigurationStoreDatabase, doIfNotState, newAutoCommitConnection, newConnection, openConfigurationStore, reload, remove, removeDeleteAction, setState, setTableNamePrefix, update, upgradeIfNecessaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, openConfigurationStore, reload, remove, updatepublic DerbyConfigurationStore(Class<? extends ConfiguredObject> rootClass)
public void init(ConfiguredObject<?> parent) throws org.apache.qpid.server.store.StoreException
init in interface org.apache.qpid.server.store.DurableConfigurationStoreorg.apache.qpid.server.store.StoreExceptionpublic void upgradeStoreStructure()
throws org.apache.qpid.server.store.StoreException
upgradeStoreStructure in interface org.apache.qpid.server.store.DurableConfigurationStoreorg.apache.qpid.server.store.StoreExceptionpublic Connection getConnection() throws SQLException
getConnection in class AbstractJDBCConfigurationStoreSQLExceptionpublic void closeConfigurationStore()
throws org.apache.qpid.server.store.StoreException
closeConfigurationStore in interface org.apache.qpid.server.store.DurableConfigurationStoreorg.apache.qpid.server.store.StoreExceptionprotected String getSqlBlobType()
getSqlBlobType in class AbstractJDBCConfigurationStoreprotected String getSqlBlobStorage(String columnName)
getSqlBlobStorage in class AbstractJDBCConfigurationStoreprotected String getSqlVarBinaryType(int size)
getSqlVarBinaryType in class AbstractJDBCConfigurationStoreprotected String getSqlBigIntType()
getSqlBigIntType in class AbstractJDBCConfigurationStoreprotected String getBlobAsString(ResultSet rs, int col) throws SQLException
getBlobAsString in class AbstractJDBCConfigurationStoreSQLExceptionpublic void onDelete(ConfiguredObject<?> parent)
onDelete in interface org.apache.qpid.server.store.DurableConfigurationStorepublic org.apache.qpid.server.store.MessageStore getMessageStore()
getMessageStore in interface org.apache.qpid.server.store.MessageStoreProviderpublic org.apache.qpid.server.store.preferences.PreferenceStore getPreferenceStore()
protected boolean tableExists(String tableName, Connection conn) throws SQLException
tableExists in class AbstractJDBCConfigurationStoreSQLExceptionprotected org.slf4j.Logger getLogger()
getLogger in class AbstractJDBCConfigurationStoreCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.