ea3a81417b6d2ba07e6a276564bdc197f03293d5
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 2 | ||
Merge Attribute [lowValue : Optional<Object>, highValue : Optional<Object>] to range : Optional<DoubleRange> in class com.facebook.presto.spi.statistics.ColumnStatistics.Builder | From | To | |
Merge Attribute [lowValue : Optional<Object>, highValue : Optional<Object>] to range : Optional<DoubleRange> in class com.facebook.presto.spi.statistics.ColumnStatistics | From | To | |
Rename Method | 5 | ||
Rename Method private rangeStatistics(min String, max String, dataSize double) : ColumnStatistics renamed to private columnStatistics(distinctValuesCount double, dataSize double) : ColumnStatistics in class com.facebook.presto.tpch.TestTpchMetadata | From | To | |
Rename Method private createStatisticValueOrNull(estimate Estimate) : Expression renamed to private createEstimateRepresentation(estimate Estimate) : Expression in class com.facebook.presto.sql.rewrite.ShowStatsRewrite.Visitor | From | To | |
Rename Method public getLowValue() : Optional<Object> renamed to public getRange() : Optional<DoubleRange> in class com.facebook.presto.spi.statistics.ColumnStatistics | From | To | |
Rename Method private toPrestoValue(tpchValue Object, columnType Type) : Object renamed to private toDouble(value Object, columnType Type) : double in class com.facebook.presto.tpch.TpchMetadata | From | To | |
Rename Method public setLowValue(lowValue Optional<Object>) : Builder renamed to public setRange(range Optional<DoubleRange>) : Builder in class com.facebook.presto.spi.statistics.ColumnStatistics.Builder | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type lowValue : Optional<Object> to range : Optional<DoubleRange> in method public setRange(range Optional<DoubleRange>) : Builder in class com.facebook.presto.spi.statistics.ColumnStatistics.Builder | From | To | |
Change Return Type | 2 | ||
Change Return Type Object to double in method private toDouble(value Object, columnType Type) : double in class com.facebook.presto.tpch.TpchMetadata | From | To | |
Change Return Type Optional<Object> to Optional<DoubleRange> in method public getRange() : Optional<DoubleRange> in class com.facebook.presto.spi.statistics.ColumnStatistics | From | To | |
Rename Parameter | 2 | ||
Rename Parameter lowValue : Optional<Object> to range : Optional<DoubleRange> in method public setRange(range Optional<DoubleRange>) : Builder in class com.facebook.presto.spi.statistics.ColumnStatistics.Builder | From | To | |
Rename Parameter tpchValue : Object to value : Object in method private toDouble(value Object, columnType Type) : double in class com.facebook.presto.tpch.TpchMetadata | From | To |