bbc42240483a0658691149aea3c509ccd0db4c79
Files Diff
- Added: 12
- Removed: 0
- Renamed: 0
- Modified: 46
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type fragments : List<PlanFragment> to minorFragmentDefns : List<MinorFragmentDefn> in method public QueryWorkUnit(rootOperator FragmentRoot, rootFragmentDefn MinorFragmentDefn, minorFragmentDefns List<MinorFragmentDefn>) in class org.apache.drill.exec.work.QueryWorkUnit | From | To | |
Change Parameter Type rootFragment : PlanFragment to rootFragmentDefn : MinorFragmentDefn in method public QueryWorkUnit(rootOperator FragmentRoot, rootFragmentDefn MinorFragmentDefn, minorFragmentDefns List<MinorFragmentDefn>) in class org.apache.drill.exec.work.QueryWorkUnit | From | To | |
Rename Variable | 1 | ||
Rename Variable fragments : List<PlanFragment> to fragmentDefns : List<MinorFragmentDefn> in method protected generateWorkUnit(options OptionList, foremanNode DrillbitEndpoint, queryId QueryId, rootNode Fragment, planningSet PlanningSet, session UserSession, queryContextInfo QueryContextInformation) : QueryWorkUnit in class org.apache.drill.exec.planner.fragment.SimpleParallelizer | From | To | |
Move Attribute | 1 | ||
Move Attribute private lease : DistributedLease from class org.apache.drill.exec.work.foreman.Foreman to private lease : DistributedLease from class org.apache.drill.exec.work.foreman.rm.DistributedQueryQueue.DistributedQueueLease | From | To | |
Extract Variable | 2 | ||
Extract Variable config : DrillConfig in method public DrillbitContext(endpoint DrillbitEndpoint, context BootStrapContext, coord ClusterCoordinator, controller Controller, connectionsPool DataConnectionCreator, workBus WorkEventBus, provider PersistentStoreProvider, profileStoreProvider PersistentStoreProvider) from class org.apache.drill.exec.server.DrillbitContext | From | To | |
Extract Variable dbContext : DrillbitContext in method public getClusterInfoJSON() : ClusterInfo from class org.apache.drill.exec.server.rest.DrillRoot | From | To | |
Change Variable Type | 7 | ||
Change Variable Type vw : VectorWrapper to vw : VectorWrapper<?> in method public printHyperBatch(batch VectorAccessible, sv4 SelectionVector4) : void in class org.apache.drill.exec.util.BatchPrinter | From | To | |
Change Variable Type vw : VectorWrapper to vw : VectorWrapper<?> in method public printBatch(batch VectorAccessible) : void in class org.apache.drill.exec.util.BatchPrinter | From | To | |
Change Variable Type fragments : List<PlanFragment> to fragmentDefns : List<MinorFragmentDefn> in method protected generateWorkUnit(options OptionList, foremanNode DrillbitEndpoint, queryId QueryId, rootNode Fragment, planningSet PlanningSet, session UserSession, queryContextInfo QueryContextInformation) : QueryWorkUnit in class org.apache.drill.exec.planner.fragment.SimpleParallelizer | From | To | |
Change Variable Type fragments : List<PlanFragment> to fragments : List<MinorFragmentDefn> in method private generateWorkUnits(options OptionList, foremanNode DrillbitEndpoint, queryId QueryId, reader PhysicalPlanReader, rootNode Fragment, planningSet PlanningSet, session UserSession, queryContextInfo QueryContextInformation) : List<QueryWorkUnit> in class org.apache.drill.exec.planner.fragment.contrib.SplittingParallelizer | From | To | |
Change Variable Type rootFragment : PlanFragment to rootFragment : MinorFragmentDefn in method private generateWorkUnits(options OptionList, foremanNode DrillbitEndpoint, queryId QueryId, reader PhysicalPlanReader, rootNode Fragment, planningSet PlanningSet, session UserSession, queryContextInfo QueryContextInformation) : List<QueryWorkUnit> in class org.apache.drill.exec.planner.fragment.contrib.SplittingParallelizer | From | To | |
Change Variable Type vw : VectorWrapper to vw : VectorWrapper<?> in method public printBatch(batch VectorAccessible, sv2 SelectionVector2) : void in class org.apache.drill.exec.util.BatchPrinter | From | To | |
Extract Method | 2 | ||
Extract Method private admit(work QueryWorkUnit) : void extracted from private runPhysicalPlan(plan PhysicalPlan) : void in class org.apache.drill.exec.work.foreman.Foreman | From | To | |
Extract Method private admit(work QueryWorkUnit) : void extracted from private runFragment(fragmentsList List<PlanFragment>) : void in class org.apache.drill.exec.work.foreman.Foreman | From | To | |
Rename Parameter | 2 | ||
Rename Parameter fragments : List<PlanFragment> to minorFragmentDefns : List<MinorFragmentDefn> in method public QueryWorkUnit(rootOperator FragmentRoot, rootFragmentDefn MinorFragmentDefn, minorFragmentDefns List<MinorFragmentDefn>) in class org.apache.drill.exec.work.QueryWorkUnit | From | To | |
Rename Parameter rootFragment : PlanFragment to rootFragmentDefn : MinorFragmentDefn in method public QueryWorkUnit(rootOperator FragmentRoot, rootFragmentDefn MinorFragmentDefn, minorFragmentDefns List<MinorFragmentDefn>) in class org.apache.drill.exec.work.QueryWorkUnit | From | To |