d22e68b83d1d0cc0539d79ae0cb3aa70ae3242ad
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 30
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private constructFragmentDependencyGraph(planningSet PlanningSet) : Set<Wrapper> renamed to public getRootFragments(planningSet PlanningSet) : Set<Wrapper> in class org.apache.drill.exec.planner.fragment.SimpleParallelizer | From | To | |
Rename Method private parallelizeFragment(fragmentWrapper Wrapper, planningSet PlanningSet, activeEndpoints Collection<DrillbitEndpoint>) : void renamed to public collectStatsAndParallelizeFragments(planningSet PlanningSet, roots Set<Wrapper>, activeEndpoints Collection<DrillbitEndpoint>) : void in class org.apache.drill.exec.planner.fragment.SimpleParallelizer | From | To | |
Rename Method protected getFragmentsHelper(activeEndpoints Collection<DrillbitEndpoint>, rootFragment Fragment) : PlanningSet renamed to public prepareFragmentTree(rootFragment Fragment) : PlanningSet in class org.apache.drill.exec.planner.fragment.SimpleParallelizer | From | To | |
Rename Method public getNextBuilder() : Fragment renamed to public getNextFragment() : Fragment in class org.apache.drill.exec.planner.fragment.MakeFragmentsVisitor | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type cost : double to cost : PrelCostEstimates in method public setCost(cost PrelCostEstimates) : void in class org.apache.drill.exec.physical.base.PhysicalOperator | From | To | |
Change Parameter Type cost : double to cost : PrelCostEstimates in method public setCost(cost PrelCostEstimates) : void in class org.apache.drill.exec.physical.base.AbstractBase | From | To | |
Rename Variable | 1 | ||
Rename Variable next : Fragment to sendingFragment : Fragment in method public visitExchange(exchange Exchange, receivingFragment Fragment) : Fragment in class org.apache.drill.exec.planner.fragment.MakeFragmentsVisitor | From | To | |
Change Return Type | 2 | ||
Change Return Type double to PrelCostEstimates in method public getCost() : PrelCostEstimates in class org.apache.drill.exec.physical.base.PhysicalOperator | From | To | |
Change Return Type double to PrelCostEstimates in method public getCost() : PrelCostEstimates in class org.apache.drill.exec.physical.base.AbstractBase | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable bufferedOpList : List<PhysicalOperator> to bufferedOperators : List<PhysicalOperator> in method public setupBufferedOpsMemoryAllocations(planHasMemory boolean, bufferedOperators List<PhysicalOperator>, queryContext QueryContext) : void in class org.apache.drill.exec.util.MemoryAllocationUtilities | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.drill.exec.planner.fragment.DefaultQueryParallelizer from classes [org.apache.drill.exec.planner.fragment.contrib.SplittingParallelizer] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute node : Fragment to fragmentXchgTo : Fragment in class org.apache.drill.exec.planner.fragment.Fragment.ExchangeFragmentPair | From | To | |
Extract Method | 2 | ||
Extract Method protected traverse(fragmentWrapper Wrapper, operation Consumer<Wrapper>) : void extracted from private parallelizeFragment(fragmentWrapper Wrapper, planningSet PlanningSet, activeEndpoints Collection<DrillbitEndpoint>) : void in class org.apache.drill.exec.planner.fragment.SimpleParallelizer | From | To | |
Extract Method private constructFragmentDependencyGraph(rootFragment Fragment, planningSet PlanningSet) : void extracted from protected getFragmentsHelper(activeEndpoints Collection<DrillbitEndpoint>, rootFragment Fragment) : PlanningSet in class org.apache.drill.exec.planner.fragment.SimpleParallelizer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type cost : double to cost : PrelCostEstimates in class org.apache.drill.exec.physical.base.AbstractBase | From | To | |
Rename Parameter | 3 | ||
Rename Parameter node : Fragment to fragXchgTo : Fragment in method public ExchangeFragmentPair(exchange Exchange, fragXchgTo Fragment) in class org.apache.drill.exec.planner.fragment.Fragment.ExchangeFragmentPair | From | To | |
Rename Parameter value : Fragment to currentFragment : Fragment in method private ensureBuilder(currentFragment Fragment) : Fragment in class org.apache.drill.exec.planner.fragment.MakeFragmentsVisitor | From | To | |
Rename Parameter value : Fragment to receivingFragment : Fragment in method public visitExchange(exchange Exchange, receivingFragment Fragment) : Fragment in class org.apache.drill.exec.planner.fragment.MakeFragmentsVisitor | From | To |