223a1484097f645014ca0fd41ce29b2a191ef174
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public toBytes() : byte[] renamed to public serializeGuidePostsInfo() : byte[] in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Rename Method public fromBytes(buf byte[], offset int, l int) : GuidePostsInfo renamed to public deserializeGuidePostsInfo(buf byte[], offset int, l int, rowCount long) : GuidePostsInfo in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Move Method | 2 | ||
| Move Method private splitTable(conn Connection, splitPoint byte[]) : void from class org.apache.phoenix.end2end.StatsCollectorIT to protected splitTable(conn Connection, splitPoint byte[], tabName byte[]) : void from class org.apache.phoenix.end2end.StatsCollectorAbstractIT | From | To | |
| Move Method public testSplitUpdatesStats() : void from class org.apache.phoenix.end2end.StatsCollectorIT to public testSplitUpdatesStats() : void from class org.apache.phoenix.end2end.StatsCollectorWithSplitsAndMultiCFIT | From | To | |
| Rename Variable | 3 | ||
| Rename Variable guidePosts : GuidePostsInfo to guidePostsRegionInfo : GuidePostsInfo in method public splitStats(p HRegion, l HRegion, r HRegion, tracker StatisticsCollector, cfKey ImmutableBytesPtr, mutations List<Mutation>) : void in class org.apache.phoenix.schema.stats.StatisticsWriter | From | To | |
| Rename Variable newInfo : GuidePostsInfo to newGPInfo : GuidePostsInfo in method public readStatistics(statsHTable HTableInterface, tableNameBytes byte[], clientTimeStamp long) : PTableStats in class org.apache.phoenix.schema.stats.StatisticsUtil | From | To | |
| Rename Variable c : Cell to cell : Cell in method public collectStatistics(results List<Cell>) : void in class org.apache.phoenix.schema.stats.StatisticsCollector | From | To | |
| Inline Method | 1 | ||
| Inline Method public updateStatistic(kv KeyValue) : void inlined to public collectStatistics(results List<Cell>) : void in class org.apache.phoenix.schema.stats.StatisticsCollector | From | To | |
| Pull Up Attribute | 1 | ||
| Pull Up Attribute private STATS_TEST_TABLE_BYTES : byte[] from class org.apache.phoenix.end2end.StatsCollectorIT to protected STATS_TEST_TABLE_BYTES : byte[] from class org.apache.phoenix.end2end.StatsCollectorAbstractIT | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.apache.phoenix.end2end.StatsCollectorAbstractIT from classes [org.apache.phoenix.end2end.StatsCollectorIT] | From | To | |
| Extract Variable | 2 | ||
| Extract Variable totByteSize : long in method private isSerial(context StatementContext, tableRef TableRef, orderBy OrderBy, limit Integer, allowPageFilter boolean) : boolean from class org.apache.phoenix.execute.ScanPlan | From | To | |
| Extract Variable size : int in method public splitStats(p HRegion, l HRegion, r HRegion, tracker StatisticsCollector, cfKey ImmutableBytesPtr, mutations List<Mutation>) : void from class org.apache.phoenix.schema.stats.StatisticsWriter | From | To |