5e4519609cdd0005c3f6dd7ab914e20d94c57e3a
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method private getIndexRegion(environment RegionCoprocessorEnvironment) : HRegion from class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver to public getIndexRegion(dataRegion HRegion, rss RegionServerServices) : HRegion from class org.apache.phoenix.util.IndexUtil | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable dataTableName : TableName to indexRegion : HRegion in method public getDataRegion(indexRegion HRegion, env RegionServerCoprocessorEnvironment) : HRegion in class org.apache.phoenix.util.IndexUtil | From | To | |
Parameterize Variable userRegion : HRegion to dataRegion : HRegion in method public getIndexRegion(dataRegion HRegion, rss RegionServerServices) : HRegion in class org.apache.phoenix.util.IndexUtil | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute parentStartKey : byte[] to regionStartKeyInHFile : byte[] in method private getKeyPresentInHFiles(key byte[]) : KeyValue in class org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReader | From | To | |
Change Variable Type | 1 | ||
Change Variable Type dataTableName : TableName to indexRegion : HRegion in method public getDataRegion(indexRegion HRegion, env RegionServerCoprocessorEnvironment) : HRegion in class org.apache.phoenix.util.IndexUtil | From | To | |
Extract Method | 5 | ||
Extract Method private commitIndexMutations(c ObserverContext<RegionCoprocessorEnvironment>, region HRegion, indexMutations List<Mutation>) : void extracted from protected doPostScannerOpen(c ObserverContext<RegionCoprocessorEnvironment>, scan Scan, s RegionScanner) : RegionScanner in class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver | From | To | |
Extract Method public getDataRegion(indexRegion HRegion, env RegionServerCoprocessorEnvironment) : HRegion extracted from public getDataRegion(env RegionCoprocessorEnvironment) : HRegion in class org.apache.phoenix.util.IndexUtil | From | To | |
Extract Method public getIndexRegion(dataRegion HRegion, rss RegionServerServices) : HRegion extracted from public getIndexRegion(environment RegionCoprocessorEnvironment) : HRegion in class org.apache.phoenix.util.IndexUtil | From | To | |
Extract Method public getDataRegion(indexRegion HRegion, rss RegionServerServices) : HRegion extracted from public getDataRegion(env RegionCoprocessorEnvironment) : HRegion in class org.apache.phoenix.util.IndexUtil | From | To |