d2fcd21d4f55c17585adbbc41f72027323a8a870
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Inline Method | 1 | ||
| Move And Inline Method public getByteCount() : long moved from class org.apache.phoenix.schema.stats.GuidePostsInfo to class org.apache.phoenix.execute.ScanPlan & inlined to private isSerial(context StatementContext, tableRef TableRef, orderBy OrderBy, limit Integer, allowPageFilter boolean) : boolean | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type rowCount : long to rowCounts : List<Long> in method public GuidePostsInfo(byteCounts List<Long>, guidePosts ImmutableBytesWritable, rowCounts List<Long>, maxLength int, guidePostsCount int) in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Change Parameter Type byteCount : long to byteCounts : List<Long> in method public GuidePostsInfo(byteCounts List<Long>, guidePosts ImmutableBytesWritable, rowCounts List<Long>, maxLength int, guidePostsCount int) in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Move Method | 1 | ||
| Move Method public getRowCount() : long from class org.apache.phoenix.schema.stats.GuidePostsInfo to public getRowCount() : long from class org.apache.phoenix.schema.stats.GuidePostsInfoBuilder | From | To | |
| Merge Variable | 1 | ||
| Merge Variable [guidePostsByteCount : long, rowCount : long] to pGuidePosts : PGuidePosts in method public createFromProto(table PTableProtos.PTable) : PTable in class org.apache.phoenix.schema.PTableImpl | From | To | |
| Rename Attribute | 3 | ||
| Rename Attribute rowCount : long to rowCounts : List<Long> in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Rename Attribute byteCount : long to byteCounts : List<Long> in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Rename Attribute byteCount : long to byteCounts : List<Long> in class org.apache.phoenix.schema.stats.GuidePostsInfoBuilder | From | To | |
| Extract Method | 1 | ||
| Extract Method public addGuidePosts(row ImmutableBytesWritable, byteCount long, rowCount long) : boolean extracted from public addGuidePosts(row byte[], byteCount long, rowCount long) : boolean in class org.apache.phoenix.schema.stats.GuidePostsInfoBuilder | From | To | |
| Change Attribute Type | 4 | ||
| Change Attribute Type byteCount : long to byteCounts : List<Long> in class org.apache.phoenix.schema.stats.GuidePostsInfoBuilder | From | To | |
| Change Attribute Type byteCount : long to byteCounts : List<Long> in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Change Attribute Type rowCount : long to rowCounts : List<Long> in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Change Attribute Type lastRow : byte[] to lastRow : ImmutableBytesWritable in class org.apache.phoenix.schema.stats.GuidePostsInfoBuilder | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter byteCount : long to byteCounts : List<Long> in method public GuidePostsInfo(byteCounts List<Long>, guidePosts ImmutableBytesWritable, rowCounts List<Long>, maxLength int, guidePostsCount int) in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To | |
| Rename Parameter rowCount : long to rowCounts : List<Long> in method public GuidePostsInfo(byteCounts List<Long>, guidePosts ImmutableBytesWritable, rowCounts List<Long>, maxLength int, guidePostsCount int) in class org.apache.phoenix.schema.stats.GuidePostsInfo | From | To |