0f02316f3d5924fa6140151e6e9e40791e777b09
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 6 | ||
Rename Method public setMaxColumnLength(maxColumnLength OptionalLong) : Builder renamed to public setMaxValueSizeInBytes(maxValueSizeInBytes OptionalLong) : Builder in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Rename Method public getAverageColumnLength() : OptionalDouble renamed to public getTotalSizeInBytes() : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics | From | To | |
Rename Method private getPartitionColumnStatistics(databaseName String, tableName String, columns List<String>) : Map<String,HiveColumnStatistics> renamed to private getTableColumnStatistics(databaseName String, tableName String, columns List<String>, rowCount OptionalLong) : Map<String,HiveColumnStatistics> in class com.facebook.presto.hive.metastore.thrift.ThriftHiveMetastore | From | To | |
Rename Method public setAverageColumnLength(averageColumnLength OptionalDouble) : Builder renamed to public setTotalSizeInBytes(totalSizeInBytes OptionalLong) : Builder in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Rename Method public setMaxColumnLength(maxColumnLength long) : Builder renamed to public setMaxValueSizeInBytes(maxValueSizeInBytes long) : Builder in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Rename Method public getMaxColumnLength() : OptionalLong renamed to public getMaxValueSizeInBytes() : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type averageColumnLength : OptionalDouble to totalSizeInBytes : OptionalLong in method public setTotalSizeInBytes(totalSizeInBytes OptionalLong) : Builder in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Inline Method | 1 | ||
Inline Method private assertMergeHiveColumnStatistics(first HiveColumnStatistics, firstRowCount OptionalLong, second HiveColumnStatistics, secondRowCount OptionalLong, expected HiveColumnStatistics) : void inlined to private assertMergeHiveColumnStatistics(first HiveColumnStatistics, second HiveColumnStatistics, expected HiveColumnStatistics) : void in class com.facebook.presto.hive.util.TestStatistics | From | To | |
Change Return Type | 1 | ||
Change Return Type OptionalDouble to OptionalLong in method public getTotalSizeInBytes() : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics | From | To | |
Rename Attribute | 4 | ||
Rename Attribute maxColumnLength : OptionalLong to maxValueSizeInBytes : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Rename Attribute averageColumnLength : OptionalDouble to totalSizeInBytes : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Rename Attribute maxColumnLength : OptionalLong to maxValueSizeInBytes : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics | From | To | |
Rename Attribute averageColumnLength : OptionalDouble to totalSizeInBytes : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics | From | To | |
Extract Variable | 2 | ||
Extract Variable basicStatistics : HiveBasicStatistics in method public updatePartitionStatistics(databaseName String, tableName String, partitionName String, update Function<PartitionStatistics,PartitionStatistics>) : void from class com.facebook.presto.hive.metastore.thrift.ThriftHiveMetastore | From | To | |
Extract Variable basicStatistics : HiveBasicStatistics in method public updateTableStatistics(databaseName String, tableName String, update Function<PartitionStatistics,PartitionStatistics>) : void from class com.facebook.presto.hive.metastore.thrift.ThriftHiveMetastore | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type averageColumnLength : OptionalDouble to totalSizeInBytes : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Change Attribute Type averageColumnLength : OptionalDouble to totalSizeInBytes : OptionalLong in class com.facebook.presto.hive.metastore.HiveColumnStatistics | From | To | |
Rename Parameter | 3 | ||
Rename Parameter maxColumnLength : OptionalLong to maxValueSizeInBytes : OptionalLong in method public setMaxValueSizeInBytes(maxValueSizeInBytes OptionalLong) : Builder in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Rename Parameter maxColumnLength : long to maxValueSizeInBytes : long in method public setMaxValueSizeInBytes(maxValueSizeInBytes long) : Builder in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To | |
Rename Parameter averageColumnLength : OptionalDouble to totalSizeInBytes : OptionalLong in method public setTotalSizeInBytes(totalSizeInBytes OptionalLong) : Builder in class com.facebook.presto.hive.metastore.HiveColumnStatistics.Builder | From | To |