()
| 97 | |
| 98 | // 清除索引和数据, 在处理前调用OnPostProcess, 可能抛出异常 |
| 99 | public void ResetData() { |
| 100 | |
| 101 | for( TableEvent ev : eventHandlers){ |
| 102 | ev.OnPreProcess(); |
| 103 | } |
| 104 | |
| 105 | ExampleData.clear(); |
| 106 | ExtendData.clear(); |
| 107 | ExampleKV.clear(); |
| 108 | |
| 109 | ExampleDataByID.clear(); |
| 110 | ExampleDataByID2.clear(); |
| 111 | ExtendDataByIndex2.clear(); |
| 112 | } |
| 113 | |
| 114 | // 构建索引, 需要捕获OnPostProcess可能抛出的异常 |
| 115 | public void BuildData() { |
nothing calls this directly
no test coverage detected