public class JDBCCacheLoaderConfig extends AdjListJDBCCacheLoaderConfig
CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfigconnectionFactoryClass, createTable, createTableDDL, datasourceName, deleteAllSql, deleteNodeSql, driverClass, dropTable, dropTableDDL, existsSql, fqnColumn, fqnType, insertNodeSql, jdbcPassword, jdbcURL, jdbcUser, nodeColumn, nodeType, parentColumn, primaryKey, selectChildFqnsSql, selectChildNamesSql, selectNodeSql, table, updateNodeSql, updateTableSqlclassName, propertieslog| 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, setUpdateTableSqlequalsExcludingProperties, getCacheLoader, getSingletonStoreConfig, hashCodeExcludingProperties, isAsync, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, populateFromBaseConfig, setAsync, setCacheLoader, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setSingletonStoreConfig, toStringgetClassName, getProperties, setClassName, setPropertiesaddChildConfig, addChildConfigs, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, setCache, testImmutabilitypublic JDBCCacheLoaderConfig(CacheLoaderConfig.IndividualCacheLoaderConfig base)
public JDBCCacheLoaderConfig()
public void setProperties(Properties props)
setProperties in class AdjListJDBCCacheLoaderConfigpublic String getDeleteNodeSql()
getDeleteNodeSql in class AdjListJDBCCacheLoaderConfigpublic 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 AdjListJDBCCacheLoaderConfigCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.