5dd8a6f60e006c2dc707f241b7619634e4e82bbd
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private scheduleRemoteIntermediateFragments(remoteFragmentMap Multimap<DrillbitEndpoint,PlanFragment>) : void renamed to private scheduleIntermediateFragments(intermediateFragmentMap Multimap<DrillbitEndpoint,PlanFragment>) : void in class org.apache.drill.exec.work.foreman.FragmentsRunner | From | To | |
| Push Down Method | 1 | ||
| Push Down Method public ControlConnectionManager(config ControlConnectionConfig, localEndpoint DrillbitEndpoint, remoteEndpoint DrillbitEndpoint) from class org.apache.drill.exec.rpc.control.ControlConnectionManager to public RemoteControlConnectionManager(config ControlConnectionConfig, localEndpoint DrillbitEndpoint, remoteEndpoint DrillbitEndpoint) from class org.apache.drill.exec.rpc.control.RemoteControlConnectionManager | From | To | |
| Extract Subclass | 1 | ||
| Extract Subclass org.apache.drill.exec.rpc.control.RemoteControlConnectionManager from class org.apache.drill.exec.rpc.control.ControlConnectionManager | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type cmd : RpcCommand<R,C> to cmd : RpcCommand<R,C,E,M> in method public ConnectionListeningFuture(cmd RpcCommand<R,C,E,M>) in class org.apache.drill.exec.rpc.ReconnectingConnection.ConnectionListeningFuture | From | To | |
| Rename Variable | 2 | ||
| Rename Variable remoteIntFragmentMap : Multimap<DrillbitEndpoint,PlanFragment> to intFragmentMap : Multimap<DrillbitEndpoint,PlanFragment> in method private setupNonRootFragments(fragments Collection<PlanFragment>) : void in class org.apache.drill.exec.work.foreman.FragmentsRunner | From | To | |
| Rename Variable remoteLeafFragmentMap : Multimap<DrillbitEndpoint,PlanFragment> to leafFragmentMap : Multimap<DrillbitEndpoint,PlanFragment> in method private setupNonRootFragments(fragments Collection<PlanFragment>) : void in class org.apache.drill.exec.work.foreman.FragmentsRunner | From | To | |
| Push Down Attribute | 2 | ||
| Push Down Attribute private remoteEndpoint : DrillbitEndpoint from class org.apache.drill.exec.rpc.control.ControlConnectionManager to private remoteEndpoint : DrillbitEndpoint from class org.apache.drill.exec.rpc.control.RemoteControlConnectionManager | From | To | |
| Push Down Attribute private config : ControlConnectionConfig from class org.apache.drill.exec.rpc.control.ControlConnectionManager to private config : ControlConnectionConfig from class org.apache.drill.exec.rpc.control.RemoteControlConnectionManager | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type future : ConnectionListeningFuture<T> to future : ConnectionListeningFuture<T,E,M> in method public runCommand(cmd R) : void in class org.apache.drill.exec.rpc.ReconnectingConnection | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type cmd : RpcCommand<R,C> to cmd : RpcCommand<R,C,E,M> in class org.apache.drill.exec.rpc.ReconnectingConnection.ConnectionListeningFuture | From | To | |
| Extract Method | 2 | ||
| Extract Method public requestQueryStatus(queryId QueryId) : QueryProfile extracted from public handle(connection ControlConnection, rpcType int, pBody ByteBuf, dBody ByteBuf, sender ResponseSender) : void in class org.apache.drill.exec.work.batch.ControlMessageHandler | From | To | |
| Extract Method public initializeFragment(fragments InitializeFragments) : Ack extracted from public handle(connection ControlConnection, rpcType int, pBody ByteBuf, dBody ByteBuf, sender ResponseSender) : void in class org.apache.drill.exec.work.batch.ControlMessageHandler | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter remoteFragmentMap : Multimap<DrillbitEndpoint,PlanFragment> to intermediateFragmentMap : Multimap<DrillbitEndpoint,PlanFragment> in method private scheduleIntermediateFragments(intermediateFragmentMap Multimap<DrillbitEndpoint,PlanFragment>) : void in class org.apache.drill.exec.work.foreman.FragmentsRunner | From | To |