cbcb1af96a685ee315403087c0144cffb5c41aab
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 3
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method private calculateNullsCount(statisticsByPartitionName Map<String,PartitionStatistics>, column String) : Estimate renamed to private calculateNullsFraction(statisticsByPartitionName Map<String,PartitionStatistics>, column String, totalRowsCount Estimate) : Estimate in class com.facebook.presto.hive.statistics.MetastoreHiveStatisticsProvider | From | To | |
| Rename Method public getNullsCount() : Estimate renamed to public getNullsFraction() : Estimate in class com.facebook.presto.spi.statistics.ColumnStatistics | From | To | |
| Rename Method public setNullsCount(nullsCount Estimate) : Builder renamed to public setNullsFraction(nullsFraction Estimate) : Builder in class com.facebook.presto.spi.statistics.ColumnStatistics.Builder | From | To | |
| Rename Variable | 1 | ||
| Rename Variable totalNullsCount : double to nullsCount : double in method private calculateNullsFraction(statisticsByPartitionName Map<String,PartitionStatistics>, column String, totalRowsCount Estimate) : Estimate in class com.facebook.presto.hive.statistics.MetastoreHiveStatisticsProvider | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute nullsCount : Estimate to nullsFraction : Estimate in class com.facebook.presto.spi.statistics.ColumnStatistics | From | To | |
| Rename Attribute nullsCount : Estimate to nullsFraction : Estimate in class com.facebook.presto.spi.statistics.ColumnStatistics.Builder | From | To | |
| Extract Variable | 1 | ||
| Extract Variable rowCount : Estimate in method public getTableStatistics(session ConnectorSession, tableHandle ConnectorTableHandle, hivePartitions List<HivePartition>, tableColumns Map<String,ColumnHandle>) : TableStatistics from class com.facebook.presto.hive.statistics.MetastoreHiveStatisticsProvider | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter nullsCount : Estimate to nullsFraction : Estimate in method private ColumnStatistics(dataSize Estimate, nullsFraction Estimate, distinctValuesCount Estimate) in class com.facebook.presto.spi.statistics.ColumnStatistics | From | To | |
| Rename Parameter nullsCount : Estimate to nullsFraction : Estimate in method public setNullsFraction(nullsFraction Estimate) : Builder in class com.facebook.presto.spi.statistics.ColumnStatistics.Builder | From | To |