252011a38a04bdbef70288f0ca313f9a3bef02ff
Files Diff
- Added: 2
 - Removed: 1
 - Renamed: 0
 - Modified: 7
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method private merge(state HyperLogLogState, input HyperLogLog) : void from class com.facebook.presto.operator.aggregation.MergeHyperLogLogAggregation to public mergeState(state HyperLogLogState, input HyperLogLog) : void from class com.facebook.presto.operator.aggregation.HyperLogLogUtils | From | To | |
| Move Method | 4 | ||
| Move Method private getOrCreateHyperLogLog(state HyperLogLogState) : HyperLogLog from class com.facebook.presto.operator.aggregation.ApproximateSetAggregation to public getOrCreateHyperLogLog(state HyperLogLogState, maxStandardError double) : HyperLogLog from class com.facebook.presto.operator.aggregation.HyperLogLogUtils | From | To | |
| Move Method package standardErrorToBuckets(maxStandardError double) : int from class com.facebook.presto.operator.aggregation.ApproximateCountDistinctAggregation to public standardErrorToBuckets(maxStandardError double) : int from class com.facebook.presto.operator.aggregation.HyperLogLogUtils | From | To | |
| Move Method private getOrCreateHyperLogLog(state HyperLogLogState, maxStandardError double) : HyperLogLog from class com.facebook.presto.operator.aggregation.ApproximateCountDistinctAggregation to public getOrCreateHyperLogLog(state HyperLogLogState, maxStandardError double) : HyperLogLog from class com.facebook.presto.operator.aggregation.HyperLogLogUtils | From | To | |
| Move Method private log2Ceiling(value int) : int from class com.facebook.presto.operator.aggregation.ApproximateCountDistinctAggregation to private log2Ceiling(value int) : int from class com.facebook.presto.operator.aggregation.HyperLogLogUtils | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private HIGHEST_MAX_STANDARD_ERROR : double from class com.facebook.presto.operator.aggregation.ApproximateCountDistinctAggregation to private HIGHEST_MAX_STANDARD_ERROR : double from class com.facebook.presto.operator.aggregation.HyperLogLogUtils | From | To | |
| Move Attribute private LOWEST_MAX_STANDARD_ERROR : double from class com.facebook.presto.operator.aggregation.ApproximateCountDistinctAggregation to private LOWEST_MAX_STANDARD_ERROR : double from class com.facebook.presto.operator.aggregation.HyperLogLogUtils | From | To | |
| Extract Class | 1 | ||
| Extract Class com.facebook.presto.operator.aggregation.HyperLogLogUtils from class com.facebook.presto.operator.aggregation.ApproximateCountDistinctAggregation | From | To | |
| Rename Class | 1 | ||
| Rename Class com.facebook.presto.operator.aggregation.TestApproximateCountDistinctAggregations renamed to com.facebook.presto.operator.aggregation.TestHyperLogLogUtils | From | To | |
| Extract Method | 2 | ||
| Extract Method public input(state HyperLogLogState, value Slice, maxStandardError double) : void extracted from public input(state HyperLogLogState, value Slice) : void in class com.facebook.presto.operator.aggregation.ApproximateSetAggregation | From | To | |
| Extract Method public input(state HyperLogLogState, value long, maxStandardError double) : void extracted from public input(state HyperLogLogState, value long) : void in class com.facebook.presto.operator.aggregation.ApproximateSetAggregation | From | To |