26d0b6673668995779ceb612cfc8bc90cdf6be0a
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type info : Object to info : OperatorInfo in method public OperatorStats(operatorId int, planNodeId PlanNodeId, operatorType String, addInputCalls long, addInputWall Duration, addInputCpu Duration, addInputUser Duration, inputDataSize DataSize, inputPositions long, getOutputCalls long, getOutputWall Duration, getOutputCpu Duration, getOutputUser Duration, outputDataSize DataSize, outputPositions long, blockedWall Duration, finishCalls long, finishWall Duration, finishCpu Duration, finishUser Duration, memoryReservation DataSize, systemMemoryReservation DataSize, blockedReason Optional<BlockedReason>, info OperatorInfo) in class com.facebook.presto.operator.OperatorStats | From | To | |
Change Parameter Type infoSupplier : Supplier<?> to infoSupplier : Supplier<OperatorInfo> in method public setInfoSupplier(infoSupplier Supplier<OperatorInfo>) : void in class com.facebook.presto.operator.OperatorContext | From | To | |
Change Return Type | 1 | ||
Change Return Type Object to OperatorInfo in method public getInfo() : OperatorInfo in class com.facebook.presto.operator.OperatorStats | From | To | |
Change Variable Type | 3 | ||
Change Variable Type info : Object to info : OperatorInfo in method public add(operators Iterable<OperatorStats>) : OperatorStats in class com.facebook.presto.operator.OperatorStats | From | To | |
Change Variable Type base : Mergeable<?> to base : Mergeable<OperatorInfo> in method private getMergeableInfoOrNull(info OperatorInfo) : Mergeable<OperatorInfo> in class com.facebook.presto.operator.OperatorStats | From | To | |
Change Variable Type infoSupplier : Supplier<?> to infoSupplier : Supplier<OperatorInfo> in method public getOperatorStats() : OperatorStats in class com.facebook.presto.operator.OperatorContext | From | To | |
Extract Interface | 1 | ||
Extract Interface com.facebook.presto.operator.OperatorInfo from classes [com.facebook.presto.operator.ExchangeClientStatus, com.facebook.presto.operator.PartitionedOutputOperator.PartitionedOutputInfo, com.facebook.presto.operator.TableFinishInfo, com.facebook.presto.operator.exchange.LocalExchangeBufferInfo] | From | To | |
Extract Method | 1 | ||
Extract Method private getMergeableInfoOrNull(info OperatorInfo) : Mergeable<OperatorInfo> extracted from public add(operators Iterable<OperatorStats>) : OperatorStats in class com.facebook.presto.operator.OperatorStats | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type info : Object to info : OperatorInfo in class com.facebook.presto.operator.OperatorStats | From | To | |
Change Attribute Type infoSupplier : AtomicReference<Supplier<?>> to infoSupplier : AtomicReference<Supplier<OperatorInfo>> in class com.facebook.presto.operator.OperatorContext | From | To |