99cc542001413b6279da0499fd2c0bceddd3c815
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public setInsertTarget(target TableHandle) : void renamed to public setInsert(insert Insert) : void in class com.facebook.presto.sql.analyzer.Analysis | From | To | |
| Rename Method public getInsertTarget() : Optional<TableHandle> renamed to public getInsert() : Optional<Insert> in class com.facebook.presto.sql.analyzer.Analysis | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type target : TableHandle to insert : Insert in method public setInsert(insert Insert) : void in class com.facebook.presto.sql.analyzer.Analysis | From | To | |
| Move Method | 1 | ||
| Move Method private getVisibleColumnNames(tableMetadata TableMetadata) : List<String> from class com.facebook.presto.sql.planner.LogicalPlanner to public getVisibleColumnNames() : List<String> from class com.facebook.presto.metadata.TableMetadata | From | To | |
| Rename Variable | 3 | ||
| Rename Variable descriptor : RelationType to queryDescriptor : RelationType in method protected visitInsert(insert Insert, context AnalysisContext) : RelationType in class com.facebook.presto.sql.analyzer.StatementAnalyzer | From | To | |
| Rename Variable target : TableHandle to insert : Analysis.Insert in method private createInsertPlan(analysis Analysis) : RelationPlan in class com.facebook.presto.sql.planner.LogicalPlanner | From | To | |
| Rename Variable columns : List<ColumnMetadata> to tableMetadata : TableMetadata in method protected visitInsert(insert Insert, context AnalysisContext) : RelationType in class com.facebook.presto.sql.analyzer.StatementAnalyzer | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Optional<TableHandle> to Optional<Insert> in method public getInsert() : Optional<Insert> in class com.facebook.presto.sql.analyzer.Analysis | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute insertTarget : Optional<TableHandle> to insert : Optional<Insert> in class com.facebook.presto.sql.analyzer.Analysis | From | To | |
| Extract Variable | 1 | ||
| Extract Variable plan : RelationPlan in method private createInsertPlan(analysis Analysis) : RelationPlan from class com.facebook.presto.sql.planner.LogicalPlanner | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type target : TableHandle to insert : Analysis.Insert in method private createInsertPlan(analysis Analysis) : RelationPlan in class com.facebook.presto.sql.planner.LogicalPlanner | From | To | |
| Change Variable Type columns : List<ColumnMetadata> to tableMetadata : TableMetadata in method protected visitInsert(insert Insert, context AnalysisContext) : RelationType in class com.facebook.presto.sql.analyzer.StatementAnalyzer | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type insertTarget : Optional<TableHandle> to insert : Optional<Insert> in class com.facebook.presto.sql.analyzer.Analysis | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter target : TableHandle to insert : Insert in method public setInsert(insert Insert) : void in class com.facebook.presto.sql.analyzer.Analysis | From | To |