3c1b3b547f88cc2860b16658a0babe3e05d34c8e
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type dataPlan : QueryPlan to optimizeSubquery : boolean in method public QueryCompiler(statement PhoenixStatement, select SelectStatement, resolver ColumnResolver, targetColumns List<? extends PDatum>, parallelIteratorFactory ParallelIteratorFactory, sequenceManager SequenceManager, projectTuples boolean, optimizeSubquery boolean, dataPlans Map<TableRef,QueryPlan>) in class org.apache.phoenix.compile.QueryCompiler | From | To | |
Change Parameter Type selectNodes : List<AliasedNode> to isWildcard : boolean in method private Table(tableNode DerivedTableNode, isWildcard boolean, tableRef TableRef) in class org.apache.phoenix.compile.JoinCompiler.Table | From | To | |
Change Parameter Type dataPlan : QueryPlan to optimizeSubquery : boolean in method public QueryCompiler(statement PhoenixStatement, select SelectStatement, resolver ColumnResolver, projectTuples boolean, optimizeSubquery boolean, dataPlans Map<TableRef,QueryPlan>) in class org.apache.phoenix.compile.QueryCompiler | From | To | |
Rename Variable | 1 | ||
Rename Variable selectNodes : List<AliasedNode> to isWildCard : boolean in method public visit(subselectNode DerivedTableNode) : Pair<Table,List<JoinSpec>> in class org.apache.phoenix.compile.JoinCompiler.JoinTableConstructor | From | To | |
Rename Attribute | 1 | ||
Rename Attribute selectNodes : List<AliasedNode> to isWildcard : boolean in class org.apache.phoenix.compile.JoinCompiler.Table | From | To | |
Extract Variable | 2 | ||
Extract Variable indexTableRef : TableRef in method private addPlan(statement PhoenixStatement, select SelectStatement, index PTable, targetColumns List<? extends PDatum>, parallelIteratorFactory ParallelIteratorFactory, dataPlan QueryPlan, isHinted boolean) : QueryPlan from class org.apache.phoenix.optimize.QueryOptimizer | From | To | |
Extract Variable planSelect : SelectStatement in method protected compileSingleFlatQuery(context StatementContext, select SelectStatement, binds List<Object>, asSubquery boolean, allowPageFilter boolean, innerPlan QueryPlan, innerPlanTupleProjector TupleProjector, isInRowKeyOrder boolean) : QueryPlan from class org.apache.phoenix.compile.QueryCompiler | From | To | |
Change Variable Type | 1 | ||
Change Variable Type selectNodes : List<AliasedNode> to isWildCard : boolean in method public visit(subselectNode DerivedTableNode) : Pair<Table,List<JoinSpec>> in class org.apache.phoenix.compile.JoinCompiler.JoinTableConstructor | From | To | |
Extract Method | 1 | ||
Extract Method private getApplicablePlans(dataPlan BaseQueryPlan, statement PhoenixStatement, targetColumns List<? extends PDatum>, parallelIteratorFactory ParallelIteratorFactory, stopAtBestPlan boolean) : List<QueryPlan> extracted from private getApplicablePlans(dataPlan QueryPlan, statement PhoenixStatement, targetColumns List<? extends PDatum>, parallelIteratorFactory ParallelIteratorFactory, stopAtBestPlan boolean) : List<QueryPlan> in class org.apache.phoenix.optimize.QueryOptimizer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type selectNodes : List<AliasedNode> to isWildcard : boolean in class org.apache.phoenix.compile.JoinCompiler.Table | From | To | |
Rename Parameter | 3 | ||
Rename Parameter dataPlan : QueryPlan to optimizeSubquery : boolean in method public QueryCompiler(statement PhoenixStatement, select SelectStatement, resolver ColumnResolver, targetColumns List<? extends PDatum>, parallelIteratorFactory ParallelIteratorFactory, sequenceManager SequenceManager, projectTuples boolean, optimizeSubquery boolean, dataPlans Map<TableRef,QueryPlan>) in class org.apache.phoenix.compile.QueryCompiler | From | To | |
Rename Parameter selectNodes : List<AliasedNode> to isWildcard : boolean in method private Table(tableNode DerivedTableNode, isWildcard boolean, tableRef TableRef) in class org.apache.phoenix.compile.JoinCompiler.Table | From | To | |
Rename Parameter dataPlan : QueryPlan to optimizeSubquery : boolean in method public QueryCompiler(statement PhoenixStatement, select SelectStatement, resolver ColumnResolver, projectTuples boolean, optimizeSubquery boolean, dataPlans Map<TableRef,QueryPlan>) in class org.apache.phoenix.compile.QueryCompiler | From | To |