ffa0cea2a3b1b2e6bb1a57e21f50dbf19159ab04
Files Diff
- Added: 0
- Removed: 4
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public hasMoreResultsContext() : boolean renamed to public isOpenScanner() : boolean in class org.apache.hadoop.hbase.client.ScannerCallableWithReplicas | From | To | |
Rename Method protected hasMoreResultsContext() : boolean renamed to package isOpenScanner() : boolean in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Rename Method public getServerHasMoreResults() : boolean renamed to public moreResultsInRegion() : MoreResults in class org.apache.hadoop.hbase.client.ScannerCallableWithReplicas | From | To | |
Rename Variable | 1 | ||
Rename Variable exhausted : boolean to regionExhausted : boolean in method protected loadCache() : void in class org.apache.hadoop.hbase.client.ClientScanner | From | To | |
Inline Method | 5 | ||
Inline Method protected setHasMoreResultsContext(serverHasMoreResultsContext boolean) : void inlined to protected rpcCall() : Result[] in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Inline Method private getMetaScan(connection Connection) : Scan inlined to public getScanForTableName(connection Connection, tableName TableName) : Scan in class org.apache.hadoop.hbase.MetaTableAccessor | From | To | |
Inline Method protected setServerHasMoreResults(serverHasMoreResults boolean) : void inlined to protected rpcCall() : Result[] in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Change Return Type | 6 | ||
Change Return Type boolean to Result[] in method protected nextScanner(nbRows int) : Result[] in class org.apache.hadoop.hbase.client.ReversedClientScanner | From | To | |
Change Return Type boolean to Result[] in method protected nextScanner(nbRows int) : Result[] in class org.apache.hadoop.hbase.client.ClientScanner | From | To | |
Change Return Type Pair<RegionScannerHolder,Boolean> to RegionScannerHolder in method private newRegionScanner(request ScanRequest, builder ScanResponse.Builder) : RegionScannerHolder in class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
Change Return Type long to ScanResponse in method private openScanner() : ScanResponse in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Change Return Type boolean to Result[] in method protected nextScanner(nbRows int) : Result[] in class org.apache.hadoop.hbase.client.TestClientScanner.MockClientScanner | From | To | |
Change Return Type boolean to MoreResults in method public moreResultsInRegion() : MoreResults in class org.apache.hadoop.hbase.client.ScannerCallableWithReplicas | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute response : ScanResponse to moreResultsInRegion : MoreResults in method package setMoreResultsInRegion(moreResults MoreResults) : void in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Rename Attribute | 1 | ||
Rename Attribute serverHasMoreResultsContext : boolean to openScanner : boolean in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Change Variable Type | 1 | ||
Change Variable Type response : ScanResponse to moreResultsInRegion : MoreResults in method package setMoreResultsInRegion(moreResults MoreResults) : void in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Inline Variable | 1 | ||
Inline Variable cells : List<Cell> in method public countMobRows(table Table, families byte[]...) : int from class org.apache.hadoop.hbase.snapshot.MobSnapshotTestingUtils | From | To | |
Extract Method | 6 | ||
Extract Method private handleScanError(e DoNotRetryIOException, retryAfterOutOfOrderException MutableBoolean) : void extracted from protected loadCache() : void in class org.apache.hadoop.hbase.client.ClientScanner | From | To | |
Extract Method package setMoreResultsInRegion(moreResults MoreResults) : void extracted from protected rpcCall() : Result[] in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Extract Method package setMoreResultsForScan(moreResults MoreResults) : void extracted from protected rpcCall() : Result[] in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Extract Method private scanExhausted(values Result[]) : boolean extracted from protected loadCache() : void in class org.apache.hadoop.hbase.client.ClientScanner | From | To | |
Extract Method private setAlreadyClosed() : void extracted from protected rpcCall() : Result[] in class org.apache.hadoop.hbase.client.ScannerCallable | From | To | |
Extract Method private next() : ScanResponse extracted from protected rpcCall() : Result[] in class org.apache.hadoop.hbase.client.ScannerCallable | From | To |