cc939dcdfe4115b63444599db8bf05645b1341b3
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public visitRowValue(context SqlBaseParser.RowValueContext) : Node renamed to public visitRowConstructor(context SqlBaseParser.RowConstructorContext) : Node in class com.facebook.presto.sql.parser.AstBuilder | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type name : String to name : Optional<String> in method public RowField(type Type, name Optional<String>) in class com.facebook.presto.type.RowType.RowField | From | To | |
Change Parameter Type context : SqlBaseParser.RowValueContext to context : SqlBaseParser.RowConstructorContext in method public visitRowConstructor(context SqlBaseParser.RowConstructorContext) : Node in class com.facebook.presto.sql.parser.AstBuilder | From | To | |
Change Parameter Type fieldNames : List<String> to fieldNames : Optional<List<String>> in method public RowType(fieldTypes List<Type>, fieldNames Optional<List<String>>) in class com.facebook.presto.type.RowType | From | To | |
Change Parameter Type rows : List<Row> to rows : List<Expression> in method public Values(rows List<Expression>) in class com.facebook.presto.sql.tree.Values | From | To | |
Change Return Type | 2 | ||
Change Return Type String to Optional<String> in method public getName() : Optional<String> in class com.facebook.presto.type.RowType.RowField | From | To | |
Change Return Type List<Row> to List<Expression> in method public getRows() : List<Expression> in class com.facebook.presto.sql.tree.Values | From | To | |
Extract Variable | 1 | ||
Extract Variable field : RowField in method public getDisplayName() : String from class com.facebook.presto.type.RowType | From | To | |
Change Variable Type | 4 | ||
Change Variable Type rows : ImmutableList.Builder<Row> to rows : ImmutableList.Builder<Expression> in method protected visitShowSession(node ShowSession, context AnalysisContext) : TupleDescriptor in class com.facebook.presto.sql.analyzer.StatementAnalyzer | From | To | |
Change Variable Type row : Row to row : Expression in method protected visitValues(node Values, indent Integer) : Void in class com.facebook.presto.sql.SqlFormatter.Formatter | From | To | |
Change Variable Type row : Row to row : Expression in method protected visitValues(node Values, context C) : R in class com.facebook.presto.sql.tree.DefaultTraversalVisitor | From | To | |
Change Variable Type row : Row to row : Expression in method protected visitValues(node Values, context Void) : RelationPlan in class com.facebook.presto.sql.planner.RelationPlanner | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type name : String to name : Optional<String> in class com.facebook.presto.type.RowType.RowField | From | To | |
Change Attribute Type rows : List<Row> to rows : List<Expression> in class com.facebook.presto.sql.tree.Values | From | To |