org.jboss.cache.loader
Class JDBCCacheLoaderConfig
java.lang.Object
org.jboss.cache.config.ConfigurationComponent
org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig
org.jboss.cache.loader.AdjListJDBCCacheLoaderConfig
org.jboss.cache.loader.JDBCCacheLoaderConfig
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class JDBCCacheLoaderConfig
- extends AdjListJDBCCacheLoaderConfig
Builds the different SQLs needed by JDBCCacheLoader.
- Version:
- 1.0
- Author:
- Mircea.Markus@iquestint.com
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getDeleteNodeSql()
Returns the sql string for removing a node and all its children. |
java.lang.String |
getNodeCountSql()
Returns an sql that will count all the persisted node. |
java.lang.String |
getRecursiveChildrenSql()
Returns an sql that will return a node and all its children. |
void |
setProperties(java.util.Properties props)
|
Methods inherited from class org.jboss.cache.loader.AdjListJDBCCacheLoaderConfig |
equals, getConnectionFactoryClass, getCreateTable, getCreateTableDDL, getDatasourceName, getDeleteAllSql, getDriverClass, getDropTable, getDropTableDDL, getInsertNodeSql, getJdbcPassword, getJdbcURL, getJdbcUser, getSelectChildFqnsSql, getSelectChildNamesSql, getSelectNodeSql, getTable, getUpdateNodeSql, getUpdateTableSql, hashCode, setConnectionFactoryClass, setCreateTable, setCreateTableDDL, setDatasourceName, setDeleteAllSql, setDeleteNodeSql, setDriverClass, setDropTable, setDropTableDDL, setInsertNodeSql, setJdbcPassword, setJdbcURL, setJdbcUser, setSelectChildFqnsSql, setSelectChildNamesSql, setSelectNodeSql, setTable, setUpdateNodeSql, setUpdateTableSql |
Methods inherited from class org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig |
equalsExcludingProperties, getClassName, getProperties, getSingletonStoreConfig, hashCodeExcludingProperties, isAsync, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, populateFromBaseConfig, setAsync, setClassName, setFetchPersistentState, setIgnoreModifications, setProperties, setPurgeOnStartup, setSingletonStoreConfig, toString |
Methods inherited from class org.jboss.cache.config.ConfigurationComponent |
addChildConfig, addChildConfigs, clone, getTreeCache, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, safeEquals, setCacheImpl, testImmutability |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
JDBCCacheLoaderConfig
public JDBCCacheLoaderConfig(CacheLoaderConfig.IndividualCacheLoaderConfig base)
setProperties
public void setProperties(java.util.Properties props)
- Overrides:
setProperties
in class AdjListJDBCCacheLoaderConfig
getDeleteNodeSql
public java.lang.String getDeleteNodeSql()
- Returns the sql string for removing a node and all its children.
- Overrides:
getDeleteNodeSql
in class AdjListJDBCCacheLoaderConfig
getRecursiveChildrenSql
public java.lang.String getRecursiveChildrenSql()
- Returns an sql that will return a node and all its children.
getNodeCountSql
public java.lang.String getNodeCountSql()
- Returns an sql that will count all the persisted node.