bcbcfd817436921de6c69af4cb9a10ce1adc51ac
Files Diff
- Added: 8
- Removed: 8
- Renamed: 0
- Modified: 25
Link to commit
Third party dependencies:
Dependency Action | |
---|---|
Added | |
org.apache.hbase:hbase-metrics-api:2.0.1 | |
org.apache.hbase:hbase-metrics:2.0.1 | |
Updated | |
From com.google.protobuf:protobuf-java 3.1.0 To 2.5.0 | |
From com.google.protobuf:protobuf-java 2.5.0 To 3.1.0 |
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public updateStatistic(region Region, scan Scan) : void renamed to public updateStatistics(region Region, scan Scan) : void in class org.apache.phoenix.schema.stats.StatisticsCollector | From | To | |
Rename Method public updateStatistic(region Region, scan Scan) : void renamed to public updateStatistics(region Region, scan Scan) : void in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Inline Method | 1 | ||
Inline Method private compactTable(conn Connection, tableName String) : void inlined to private testCompactUpdatesStats(statsUpdateFreq Integer, tableName String) : void in class org.apache.phoenix.schema.stats.BaseStatsCollectorIT | From | To | |
Rename Variable | 1 | ||
Rename Variable stats : StatisticsCollector to statisticsCollector : StatisticsCollector in method public run() : InternalScanner in class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.preCompact.runAsLoginUser | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.phoenix.schema.stats.StatsCollectorIT renamed to org.apache.phoenix.schema.stats.BaseStatsCollectorIT | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT moved and renamed to org.apache.phoenix.schema.stats.TxStatsCollectorIT | From | To | |
Change Variable Type | 1 | ||
Change Variable Type mutations : ArrayList<Mutation> to mutations : List<Mutation> in method public updateStatistics(region Region, scan Scan) : void in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Split Attribute | 1 | ||
Split Attribute env : RegionCoprocessorEnvironment to [configuration : Configuration, region : Region] in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Extract Method | 3 | ||
Extract Method private getGuidePostDepthFromStatement() : void extracted from private initGuidepostDepth() : void in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Extract Method private determineClientTimeStamp(configuration Configuration, clientTimeStamp long) : long extracted from public newWriter(env RegionCoprocessorEnvironment, tableName String, clientTimeStamp long, guidePostDepth long) : StatisticsWriter in class org.apache.phoenix.schema.stats.StatisticsWriter | From | To | |
Extract Method private getGuidePostDepthFromSystemCatalog() : long extracted from private initGuidepostDepth() : void in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type regions : ArrayList<RegionInfo> to regions : List<RegionInfo> in class org.apache.phoenix.iterate.TableSnapshotResultIterator | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public setScanAttributes(scan Scan, statsProps Map<String,Object>) : void extracted from private updateStatisticsInternal(physicalName PName, logicalTable PTable, statsProps Map<String,Object>, cfs List<byte[]>, checkLastStatsUpdateTime boolean) : long in class org.apache.phoenix.schema.MetaDataClient & moved to class org.apache.phoenix.schema.stats.StatisticsUtil | From | To | |
Rename Parameter | 1 | ||
Rename Parameter s : InternalScanner to delegate : InternalScanner in method public createCompactionScanner(env RegionCoprocessorEnvironment, store Store, delegate InternalScanner) : InternalScanner in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To |