40083af07a0d571c11c829cf6aeccd4ccd6f8ff2
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 2 | ||
Change Return Type QueryInfo to ListenableFuture<?> in method public createQuery(queryId QueryId, sessionContext SessionContext, query String) : ListenableFuture<?> in class com.facebook.presto.execution.QueryManager | From | To | |
Change Return Type QueryInfo to ListenableFuture<?> in method public createQuery(queryId QueryId, sessionContext SessionContext, query String) : ListenableFuture<?> in class com.facebook.presto.execution.SqlQueryManager | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute queryInfo : QueryInfo to submissionFuture : ListenableFuture<?> in method private Query(sessionContext SessionContext, query String, queryManager QueryManager, sessionPropertyManager SessionPropertyManager, exchangeClient ExchangeClient, resultsProcessorExecutor Executor, timeoutExecutor ScheduledExecutorService, blockEncodingSerde BlockEncodingSerde) in class com.facebook.presto.server.protocol.Query | From | To | |
Change Variable Type | 1 | ||
Change Variable Type queryInfo : QueryInfo to submissionFuture : ListenableFuture<?> in method private Query(sessionContext SessionContext, query String, queryManager QueryManager, sessionPropertyManager SessionPropertyManager, exchangeClient ExchangeClient, resultsProcessorExecutor Executor, timeoutExecutor ScheduledExecutorService, blockEncodingSerde BlockEncodingSerde) in class com.facebook.presto.server.protocol.Query | From | To | |
Extract Method | 3 | ||
Extract Method private createQueryInternal(queryId QueryId, sessionContext SessionContext, query String) : void extracted from public createQuery(queryId QueryId, sessionContext SessionContext, query String) : QueryInfo in class com.facebook.presto.execution.SqlQueryManager | From | To | |
Extract Method private cacheLastResults(queryResults QueryResults) : void extracted from private getNextResult(token OptionalLong, uriInfo UriInfo, scheme String) : QueryResults in class com.facebook.presto.server.protocol.Query | From | To |