eb6028d8a8e3758cfc5f66cecf237eb1fa750643
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public convertToDirect() : long renamed to public tryConvertToDirect(maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.DictionaryCompressionOptimizer.DictionaryColumn | From | To | |
Rename Method public testSingleDictionaryColumnMemoryLimitHighlyCompressed() : void renamed to public testDirectConversionOnDictionaryFull() : void in class com.facebook.presto.orc.TestDictionaryCompressionOptimizer | From | To | |
Rename Method package convertToDirect() : long renamed to package tryConvertToDirect(maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.DictionaryCompressionOptimizer.DictionaryColumnManager | From | To | |
Rename Method private convertToDirect(dictionaryWriter DictionaryColumnManager) : long renamed to private tryConvertToDirect(dictionaryWriter DictionaryColumnManager, maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.DictionaryCompressionOptimizer | From | To | |
Rename Method public convertToDirect() : long renamed to public tryConvertToDirect(maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.writer.SliceDictionaryColumnWriter | From | To | |
Change Return Type | 4 | ||
Change Return Type long to OptionalInt in method public tryConvertToDirect(maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.writer.SliceDictionaryColumnWriter | From | To | |
Change Return Type long to OptionalInt in method private tryConvertToDirect(dictionaryWriter DictionaryColumnManager, maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.DictionaryCompressionOptimizer | From | To | |
Change Return Type long to OptionalInt in method public tryConvertToDirect(maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.DictionaryCompressionOptimizer.DictionaryColumn | From | To | |
Change Return Type long to OptionalInt in method package tryConvertToDirect(maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.DictionaryCompressionOptimizer.DictionaryColumnManager | From | To | |
Change Variable Type | 1 | ||
Change Variable Type directBytes : long to directBytes : OptionalInt in method private tryConvertToDirect(dictionaryWriter DictionaryColumnManager, maxDirectBytes int) : OptionalInt in class com.facebook.presto.orc.DictionaryCompressionOptimizer | From | To | |
Extract Variable | 1 | ||
Extract Variable dictionaryBytes : int in method private tryConvertToDirect(dictionaryWriter DictionaryColumnManager, maxDirectBytes int) : OptionalInt from class com.facebook.presto.orc.DictionaryCompressionOptimizer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter allOtherBytes : int to totalNonDictionaryBytes : int in method private currentCompressionRatio(totalNonDictionaryBytes int) : double in class com.facebook.presto.orc.DictionaryCompressionOptimizer | From | To |