944bed73585a5ff826997895c2da43720b229d8a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testDisableIndexDuringRebuild() : void renamed to public testTimeBatchesInCoprocessorRequired() : void in class org.apache.phoenix.end2end.index.PartialIndexRebuilderIT | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private removeWriteFailingCoprocessor(conn Connection, tableName String) : void from class org.apache.phoenix.end2end.index.PartialIndexRebuilderIT to public removeCoprocessor(conn Connection, tableName String, coprocessorClass Class) : void from class org.apache.phoenix.util.TestUtil | From | To | |
Extract Variable | 1 | ||
Extract Variable indexState : PIndexState in method private addPlan(statement PhoenixStatement, select SelectStatement, index PTable, targetColumns List<? extends PDatum>, parallelIteratorFactory ParallelIteratorFactory, dataPlan QueryPlan, isHinted boolean) : QueryPlan from class org.apache.phoenix.optimize.QueryOptimizer | From | To | |
Extract Method | 2 | ||
Extract Method private hasIndexWithState(metaCache PMetaData, key PTableKey, expectedState PIndexState) : boolean extracted from private hasDisabledIndex(metaCache PMetaData, key PTableKey) : boolean in class org.apache.phoenix.end2end.index.PartialIndexRebuilderIT | From | To | |
Extract Method public updateIndexState(conn PhoenixConnection, indexTableName String, newState PIndexState, indexDisableTimestamp Long, expectedMaxTimestamp Long) : void extracted from public updateIndexState(conn PhoenixConnection, indexTableName String, newState PIndexState, indexDisableTimestamp Long) : void in class org.apache.phoenix.util.IndexUtil | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type REBUILD_INTERVAL : int to REBUILD_INTERVAL : long in class org.apache.phoenix.end2end.index.PartialIndexRebuilderIT | From | To |