baf737b12240068a54aef16a2990ee624821519e
Files Diff
- Added: 9
- Removed: 1
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable stageChildren : ImmutableMap.Builder<StageId,Set<StageId>> to stageSchedulers : ImmutableMap.Builder<StageId,StageScheduler> in method public SqlQueryScheduler(queryStateMachine QueryStateMachine, locationFactory LocationFactory, plan StageExecutionPlan, nodeScheduler NodeScheduler, remoteTaskFactory RemoteTaskFactory, session Session, splitBatchSize int, initialHashPartitions int, executor ExecutorService, rootOutputBuffers OutputBuffers, nodeTaskMap NodeTaskMap) in class com.facebook.presto.execution.scheduler.SqlQueryScheduler | From | To | |
Move Attribute | 2 | ||
Move Attribute private nodeSelector : NodeSelector from class com.facebook.presto.execution.SqlStageExecution to private nodeSelector : NodeSelector from class com.facebook.presto.execution.scheduler.SplitPlacementPolicy | From | To | |
Move Attribute private splitBatchSize : int from class com.facebook.presto.execution.SqlStageExecution to private splitBatchSize : int from class com.facebook.presto.execution.scheduler.SourcePartitionedScheduler | From | To | |
Extract Class | 1 | ||
Extract Class com.facebook.presto.execution.scheduler.SourcePartitionedScheduler from class com.facebook.presto.execution.SqlStageExecution | From | To | |
Rename Attribute | 1 | ||
Rename Attribute stageChildren : Map<StageId,Set<StageId>> to stageSchedulers : Map<StageId,StageScheduler> in class com.facebook.presto.execution.scheduler.SqlQueryScheduler | From | To | |
Change Variable Type | 1 | ||
Change Variable Type stageChildren : ImmutableMap.Builder<StageId,Set<StageId>> to stageSchedulers : ImmutableMap.Builder<StageId,StageScheduler> in method public SqlQueryScheduler(queryStateMachine QueryStateMachine, locationFactory LocationFactory, plan StageExecutionPlan, nodeScheduler NodeScheduler, remoteTaskFactory RemoteTaskFactory, session Session, splitBatchSize int, initialHashPartitions int, executor ExecutorService, rootOutputBuffers OutputBuffers, nodeTaskMap NodeTaskMap) in class com.facebook.presto.execution.scheduler.SqlQueryScheduler | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type tasks : ConcurrentMap<TaskId,RemoteTask> to tasks : Map<Node,Set<RemoteTask>> in class com.facebook.presto.execution.SqlStageExecution | From | To | |
Change Attribute Type stageChildren : Map<StageId,Set<StageId>> to stageSchedulers : Map<StageId,StageScheduler> in class com.facebook.presto.execution.scheduler.SqlQueryScheduler | From | To | |
Change Attribute Type exchangeLocations : AtomicReference<Multimap<PlanNodeId,URI>> to exchangeLocations : Multimap<PlanNodeId,URI> in class com.facebook.presto.execution.SqlStageExecution | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getFragment() : PlanFragment extracted from public getFragment() : PlanFragment in class com.facebook.presto.execution.SqlStageExecution & moved to class com.facebook.presto.execution.StageStateMachine | From | To | |
Rename Parameter | 1 | ||
Rename Parameter newOutputBuffers : OutputBuffers to outputBuffers : OutputBuffers in method public setOutputBuffers(outputBuffers OutputBuffers) : void in class com.facebook.presto.execution.SqlStageExecution | From | To |