cbb699cf0c2d083e0a493116fb858d829de67f39
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 9
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 3 | ||
| Change Parameter Type orderBy : List<SortItem> to orderBy : Optional<OrderBy> in method private Window(location Optional<NodeLocation>, partitionBy List<Expression>, orderBy Optional<OrderBy>, frame Optional<WindowFrame>) in class com.facebook.presto.sql.tree.Window | From | To | |
| Change Parameter Type orderBy : List<SortItem> to orderBy : Optional<OrderBy> in method public Window(partitionBy List<Expression>, orderBy Optional<OrderBy>, frame Optional<WindowFrame>) in class com.facebook.presto.sql.tree.Window | From | To | |
| Change Parameter Type orderBy : List<SortItem> to orderBy : Optional<OrderBy> in method public Window(location NodeLocation, partitionBy List<Expression>, orderBy Optional<OrderBy>, frame Optional<WindowFrame>) in class com.facebook.presto.sql.tree.Window | From | To | |
| Rename Variable | 1 | ||
| Rename Variable orderBy : ImmutableList.Builder<SortItem> to sortItems : ImmutableList.Builder<SortItem> in method private rewriteOrderBy(orderBy OrderBy, context Context<C>) : OrderBy in class com.facebook.presto.sql.tree.ExpressionTreeRewriter.RewritingVisitor | From | To | |
| Change Return Type | 1 | ||
| Change Return Type List<SortItem> to Optional<OrderBy> in method public getOrderBy() : Optional<OrderBy> in class com.facebook.presto.sql.tree.Window | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type orderBy : List<SortItem> to orderBy : Optional<OrderBy> in class com.facebook.presto.sql.tree.Window | From | To | |
| Extract Method | 1 | ||
| Extract Method private rewriteOrderBy(orderBy OrderBy, context Context<C>) : OrderBy extracted from public visitFunctionCall(node FunctionCall, context Context<C>) : Expression in class com.facebook.presto.sql.tree.ExpressionTreeRewriter.RewritingVisitor | From | To |