4e55aadca50e2b6f904fcfa444540e90c02e3383
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private enqueueDrivers(forceRunSplit boolean, runners List<DriverSplitRunner>) : void renamed to private enqueueDriverSplitRunner(forceRunSplit boolean, runners List<DriverSplitRunner>) : void in class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Rename Variable | 2 | ||
| Rename Variable partitionedDriverFactories : ImmutableMap.Builder<PlanNodeId,DriverSplitRunnerFactory> to driverRunnerFactoriesWithSplitLifeCycle : ImmutableMap.Builder<PlanNodeId,DriverSplitRunnerFactory> in method private SqlTaskExecution(taskStateMachine TaskStateMachine, taskContext TaskContext, outputBuffer OutputBuffer, localExecutionPlan LocalExecutionPlan, taskExecutor TaskExecutor, queryMonitor QueryMonitor, notificationExecutor Executor) in class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Rename Variable partitionedDriverFactory : DriverSplitRunnerFactory to partitionedDriverRunnerFactory : DriverSplitRunnerFactory in method private schedulePartitionedSource(sourceUpdate TaskSource) : void in class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Extract Class | 1 | ||
| Extract Class com.facebook.presto.execution.SqlTaskExecution.SchedulingLifespanManager from class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute partitionedDriverFactories : Map<PlanNodeId,DriverSplitRunnerFactory> to driverRunnerFactoriesWithSplitLifeCycle : Map<PlanNodeId,DriverSplitRunnerFactory> in class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Rename Attribute unpartitionedDriverFactories : List<DriverSplitRunnerFactory> to driverRunnerFactoriesWithTaskLifeCycle : List<DriverSplitRunnerFactory> in class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type partitionedSources : ImmutableSet<PlanNodeId> to partitionedSources : Set<PlanNodeId> in method private SqlTaskExecution(taskStateMachine TaskStateMachine, taskContext TaskContext, outputBuffer OutputBuffer, localExecutionPlan LocalExecutionPlan, taskExecutor TaskExecutor, queryMonitor QueryMonitor, notificationExecutor Executor) in class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public getLifespan() : Lifespan extracted from private enqueueDrivers(forceRunSplit boolean, runners List<DriverSplitRunner>) : void in class com.facebook.presto.execution.SqlTaskExecution & moved to class com.facebook.presto.execution.SqlTaskExecution.DriverSplitRunner | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter source : TaskSource to sourceUpdate : TaskSource in method private scheduleUnpartitionedSource(sourceUpdate TaskSource, updatedUnpartitionedSources Map<PlanNodeId,TaskSource>) : void in class com.facebook.presto.execution.SqlTaskExecution | From | To | |
| Rename Parameter source : TaskSource to sourceUpdate : TaskSource in method private schedulePartitionedSource(sourceUpdate TaskSource) : void in class com.facebook.presto.execution.SqlTaskExecution | From | To |