public class DB2IndexOperator extends BaseIndexOperator
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
BATCH_SIZE |
dialect, jdbcTemplate, logger| 构造器和说明 |
|---|
DB2IndexOperator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createIndex(Index index) |
void |
dropIndex(String tableName,
String indexName)
根据表名和索引名,删除表名和索引名对应的索引.所有实现使用精确匹配方式。
|
Index |
getIndex(String tableName,
String indexName)
根据表名和索引名,取得表名和索引名对应的索引.所有实现使用精确匹配方式。
|
List<Index> |
getIndexByFuzzyMatch(String indexName) |
List<Index> |
getIndexsByTable(String tableName)
根据表名,取得表名对应的索引列表.所有实现使用精确匹配方式。
|
void |
rebuildIndex(String tableName,
String indexName)
重建索引
|
setDialect, setJdbcTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetDialect, setJdbcTemplatepublic void createIndex(Index index) throws SQLException
SQLExceptionpublic void dropIndex(String tableName, String indexName)
IIndexOperatortableName - 表名indexName - 索引名public Index getIndex(String tableName, String indexName) throws SQLException
IIndexOperatortableName - 表名indexName - 索引名SQLExceptionpublic void rebuildIndex(String tableName, String indexName)
IIndexOperatortableName - 表名indexName - 索引名public List<Index> getIndexByFuzzyMatch(String indexName) throws SQLException
SQLExceptionpublic List<Index> getIndexsByTable(String tableName) throws SQLException
IIndexOperatortableName - 表名SQLExceptionCopyright © 2018. All rights reserved.