fd803831f5f069bf7ca7d6bba18ba99a79bb5c54
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getResourceGroupName() : Optional<String> renamed to public getResourceGroupId() : Optional<ResourceGroupId> in class com.facebook.presto.spi.eventlistener.QueryContext | From | To | |
Rename Method public getResourceGroupName() : Optional<String> renamed to public getResourceGroupId() : Optional<ResourceGroupId> in class com.facebook.presto.execution.QueryInfo | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type expectedResourceGroup : String to expectedResourceGroup : ResourceGroupId in method private assertResourceGroup(queryRunner DistributedQueryRunner, session Session, query String, expectedResourceGroup ResourceGroupId) : void in class com.facebook.presto.execution.TestQueues | From | To | |
Change Parameter Type expectedResourceGroup : String to expectedResourceGroup : ResourceGroupId in method private assertResourceGroupWithClientTags(clientTags Set<String>, expectedResourceGroup ResourceGroupId) : void in class com.facebook.presto.execution.resourceGroups.db.TestQueuesDb | From | To | |
Change Parameter Type resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method public QueryInfo(queryId QueryId, session SessionRepresentation, state QueryState, memoryPool MemoryPoolId, scheduled boolean, self URI, fieldNames List<String>, query String, queryStats QueryStats, setCatalog Optional<String>, setSchema Optional<String>, setSessionProperties Map<String,String>, resetSessionProperties Set<String>, addedPreparedStatements Map<String,String>, deallocatedPreparedStatements Set<String>, startedTransactionId Optional<TransactionId>, clearTransactionId boolean, updateType String, outputStage Optional<StageInfo>, failureInfo FailureInfo, errorCode ErrorCode, inputs Set<Input>, output Optional<Output>, completeInfo boolean, resourceGroupId Optional<ResourceGroupId>) in class com.facebook.presto.execution.QueryInfo | From | To | |
Rename Variable | 3 | ||
Rename Variable resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method private assertResourceGroup(queryRunner DistributedQueryRunner, session Session, query String, expectedResourceGroup ResourceGroupId) : void in class com.facebook.presto.execution.TestQueues | From | To | |
Rename Variable resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method private assertResourceGroupWithClientTags(clientTags Set<String>, expectedResourceGroup ResourceGroupId) : void in class com.facebook.presto.execution.resourceGroups.db.TestQueuesDb | From | To | |
Rename Variable resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method public testQueryTypeBasedSelection() : void in class com.facebook.presto.execution.resourceGroups.db.TestQueuesDb | From | To | |
Change Return Type | 2 | ||
Change Return Type Optional<String> to Optional<ResourceGroupId> in method public getResourceGroupId() : Optional<ResourceGroupId> in class com.facebook.presto.spi.eventlistener.QueryContext | From | To | |
Change Return Type Optional<String> to Optional<ResourceGroupId> in method public getResourceGroupId() : Optional<ResourceGroupId> in class com.facebook.presto.execution.QueryInfo | From | To | |
Rename Attribute | 2 | ||
Rename Attribute resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in class com.facebook.presto.execution.QueryInfo | From | To | |
Rename Attribute resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in class com.facebook.presto.spi.eventlistener.QueryContext | From | To | |
Change Variable Type | 4 | ||
Change Variable Type resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method private assertResourceGroup(queryRunner DistributedQueryRunner, session Session, query String, expectedResourceGroup ResourceGroupId) : void in class com.facebook.presto.execution.TestQueues | From | To | |
Change Variable Type resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method private assertResourceGroupWithClientTags(clientTags Set<String>, expectedResourceGroup ResourceGroupId) : void in class com.facebook.presto.execution.resourceGroups.db.TestQueuesDb | From | To | |
Change Variable Type resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method public testQueryTypeBasedSelection() : void in class com.facebook.presto.execution.resourceGroups.db.TestQueuesDb | From | To | |
Change Variable Type resourceGroup : Optional<String> to resourceGroup : Optional<ResourceGroupId> in method public testSelectorPriority() : void in class com.facebook.presto.execution.resourceGroups.db.TestQueuesDb | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in class com.facebook.presto.execution.QueryInfo | From | To | |
Change Attribute Type resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in class com.facebook.presto.spi.eventlistener.QueryContext | From | To | |
Rename Parameter | 1 | ||
Rename Parameter resourceGroupName : Optional<String> to resourceGroupId : Optional<ResourceGroupId> in method public QueryInfo(queryId QueryId, session SessionRepresentation, state QueryState, memoryPool MemoryPoolId, scheduled boolean, self URI, fieldNames List<String>, query String, queryStats QueryStats, setCatalog Optional<String>, setSchema Optional<String>, setSessionProperties Map<String,String>, resetSessionProperties Set<String>, addedPreparedStatements Map<String,String>, deallocatedPreparedStatements Set<String>, startedTransactionId Optional<TransactionId>, clearTransactionId boolean, updateType String, outputStage Optional<StageInfo>, failureInfo FailureInfo, errorCode ErrorCode, inputs Set<Input>, output Optional<Output>, completeInfo boolean, resourceGroupId Optional<ResourceGroupId>) in class com.facebook.presto.execution.QueryInfo | From | To |