public class JDBCCacheLoaderConfig extends AdjListJDBCCacheLoaderConfig
CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig
connectionFactoryClass, createTable, createTableDDL, datasourceName, deleteAllSql, deleteNodeSql, driverClass, dropTable, dropTableDDL, existsSql, fqnColumn, fqnType, insertNodeSql, jdbcPassword, jdbcURL, jdbcUser, nodeColumn, nodeType, parentColumn, primaryKey, selectChildFqnsSql, selectChildNamesSql, selectNodeSql, table, updateNodeSql, updateTableSql
className, properties
log
Constructor and Description |
---|
JDBCCacheLoaderConfig() |
JDBCCacheLoaderConfig(CacheLoaderConfig.IndividualCacheLoaderConfig base) |
Modifier and Type | Method and Description |
---|---|
protected String |
constructDeleteNodeSql() |
long |
getBatchSize()
The statement will be flushed after batching batchSize operations.
|
String |
getDeleteNodeSql()
Returns the sql string for removing a node and all its children.
|
String |
getNodeCountSql()
Returns an sql that will count all the persisted node.
|
String |
getRecursiveChildrenSql()
Returns an sql that will return a node and all its children.
|
String |
getSqlConcat()
Deprecated.
|
boolean |
isBatchEnabled()
If batch is enabled certain operations (e.g.
|
void |
setNodeCountSql(String nodeCountSql) |
void |
setProperties(Properties props) |
void |
setRecursiveChildrenSql(String recursiveChildrenSql) |
void |
setSqlConcat(String sqlConcat)
Deprecated.
|
clone, constructCreateTableDDL, constructDeleteAllSql, constructDropTableDDL, constructExistsSql, constructInsertNodeSql, constructSelectChildNamesSql, constructSelectNodeSql, constructUpdateNodeSql, equals, getConnectionFactoryClass, getCreateTable, getCreateTableDDL, getDatasourceName, getDeleteAllSql, getDriverClass, getDropTable, getDropTableDDL, getDummyTable, getDummyTableCreationDDL, getDummyTablePopulationSql, getDummyTableRemovalDDL, getExistsSql, getFqnColumn, getFqnType, getInsertNodeSql, getJdbcPassword, getJdbcURL, getJdbcUser, getNodeColumn, getNodeType, getParentColumn, getPrimaryKey, getSelectChildFqnsSql, getSelectChildNamesSql, getSelectNodeSql, getTable, getUpdateNodeSql, getUpdateTableSql, hashCode, setConnectionFactoryClass, setCreateTable, setCreateTableDDL, setDatasourceName, setDeleteAllSql, setDeleteNodeSql, setDriverClass, setDropTable, setDropTableDDL, setExistsSql, setFqnColumn, setFqnType, setInsertNodeSql, setJdbcPassword, setJdbcURL, setJdbcUser, setNodeColumn, setNodeType, setParentColumn, setPrimaryKey, setSelectChildFqnsSql, setSelectChildNamesSql, setSelectNodeSql, setTable, setUpdateNodeSql, setUpdateTableSql
equalsExcludingProperties, getCacheLoader, getSingletonStoreConfig, hashCodeExcludingProperties, isAsync, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, populateFromBaseConfig, setAsync, setCacheLoader, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setSingletonStoreConfig, toString
getClassName, getProperties, setClassName, setProperties
addChildConfig, addChildConfigs, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, setCache, testImmutability
public JDBCCacheLoaderConfig(CacheLoaderConfig.IndividualCacheLoaderConfig base)
public JDBCCacheLoaderConfig()
public void setProperties(Properties props)
setProperties
in class AdjListJDBCCacheLoaderConfig
public String getDeleteNodeSql()
getDeleteNodeSql
in class AdjListJDBCCacheLoaderConfig
public String getRecursiveChildrenSql()
public void setRecursiveChildrenSql(String recursiveChildrenSql)
public String getNodeCountSql()
public void setNodeCountSql(String nodeCountSql)
@Deprecated public String getSqlConcat()
@Deprecated public void setSqlConcat(String sqlConcat)
public boolean isBatchEnabled()
Statement.addBatch(String)
approach for insertig data into the database. This normally brings significant performance improvements.public long getBatchSize()
isBatchEnabled()
protected String constructDeleteNodeSql()
constructDeleteNodeSql
in class AdjListJDBCCacheLoaderConfig
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.