de9791e91e83005712cd276fce99f354a62c467a
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 64
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 1 | ||
| Pull Up Method protected createClosestRowBefore(row byte[]) : byte[] from class org.apache.hadoop.hbase.client.ReversedClientScanner to protected createClosestRowBefore(row byte[]) : byte[] from class org.apache.hadoop.hbase.client.ClientScanner | From | To | |
| Rename Variable | 3 | ||
| Rename Variable returnResult : boolean to state : NextState in method public nextRaw(outResults List<Cell>, batchLimit int, remainingResultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Rename Variable moreRows : boolean to state : NextState in method public scan(controller RpcController, request ScanRequest) : ScanResponse in class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
| Rename Variable kv : Cell to state : NextState in method private populateFromJoinedHeap(results List<Cell>, limit int, resultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Pull Up Attribute | 1 | ||
| Pull Up Attribute package MAX_BYTE_ARRAY : byte[] from class org.apache.hadoop.hbase.client.ReversedClientScanner to package MAX_BYTE_ARRAY : byte[] from class org.apache.hadoop.hbase.client.ClientScanner | From | To | |
| Change Return Type | 22 | ||
| Change Return Type boolean to NextState in method public next(results List<Cell>) : NextState in class org.apache.hadoop.hbase.coprocessor.TestCoprocessorInterface.CustomScanner | From | To | |
| Change Return Type boolean to NextState in method public next(results List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.InternalScanner | From | To | |
| Change Return Type boolean to NextState in method private nextInternal(results List<Cell>, batchLimit int, remainingResultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Change Return Type boolean to NextState in method public next(result List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.coprocessor.TestCoprocessorInterface.CustomScanner | From | To | |
| Change Return Type boolean to NextState in method public nextRaw(result List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.RegionScanner | From | To | |
| Change Return Type boolean to NextState in method public nextRaw(outResults List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Change Return Type boolean to NextState in method public nextRaw(result List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.RegionScanner | From | To | |
| Change Return Type boolean to NextState in method public nextRaw(result List<Cell>) : NextState in class org.apache.hadoop.hbase.coprocessor.TestCoprocessorInterface.CustomScanner | From | To | |
| Change Return Type boolean to NextState in method public next(outResult List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.StoreScanner | From | To | |
| Change Return Type boolean to NextState in method public next(result List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.KeyValueHeap | From | To | |
| Change Return Type boolean to NextState in method public nextRaw(result List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.coprocessor.TestCoprocessorInterface.CustomScanner | From | To | |
| Change Return Type boolean to NextState in method public next(outResult List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.StoreScanner | From | To | |
| Change Return Type boolean to NextState in method public next(result List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.Scanner | From | To | |
| Change Return Type boolean to NextState in method public next(result List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.InternalScanner | From | To | |
| Change Return Type boolean to NextState in method public nextRaw(outResults List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Change Return Type void to NextState in method private populateFromJoinedHeap(results List<Cell>, limit int, resultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Change Return Type boolean to NextState in method public next(outResults List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Change Return Type boolean to NextState in method public next(result List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.TestStripeCompactor.Scanner | From | To | |
| Change Return Type boolean to NextState in method public next(result List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.KeyValueHeap | From | To | |
| Change Return Type boolean to NextState in method public next(results List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.Scanner | From | To | |
| Change Return Type boolean to NextState in method public next(results List<Cell>) : NextState in class org.apache.hadoop.hbase.regionserver.TestStripeCompactor.Scanner | From | To | |
| Change Return Type boolean to NextState in method public next(outResults List<Cell>, limit int) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type moreRows : boolean to state : NextState in method public scan(controller RpcController, request ScanRequest) : ScanResponse in class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
| Change Variable Type kv : Cell to state : NextState in method private populateFromJoinedHeap(results List<Cell>, limit int, resultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Change Variable Type returnResult : boolean to state : NextState in method public nextRaw(outResults List<Cell>, batchLimit int, remainingResultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Extract Variable | 1 | ||
| Extract Variable remainingResultSize : long in method public next() : Result from class org.apache.hadoop.hbase.client.ClientSideRegionScanner | From | To | |
| Extract Method | 6 | ||
| Extract Method public next(result List<Cell>, limit int, remainingResultSize long) : NextState extracted from public next(result List<Cell>, limit int) : boolean in class org.apache.hadoop.hbase.regionserver.KeyValueHeap | From | To | |
| Extract Method public next(outResult List<Cell>, limit int, remainingResultSize long) : NextState extracted from public next(outResult List<Cell>, limit int) : boolean in class org.apache.hadoop.hbase.regionserver.StoreScanner | From | To | |
| Extract Method public next(outResults List<Cell>, limit int, remainingResultSize long) : NextState extracted from public next(outResults List<Cell>, limit int) : boolean in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Extract Method public create(cells List<Cell>, exists Boolean, stale boolean, partial boolean) : Result extracted from public create(cells List<Cell>, exists Boolean, stale boolean) : Result in class org.apache.hadoop.hbase.client.Result | From | To | |
| Extract Method public nextRaw(outResults List<Cell>, batchLimit int, remainingResultSize long) : NextState extracted from public nextRaw(outResults List<Cell>, limit int) : boolean in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Extract Method public create(cells Cell[], exists Boolean, stale boolean, partial boolean) : Result extracted from public create(cells Cell[], exists Boolean, stale boolean) : Result in class org.apache.hadoop.hbase.client.Result | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter limit : int to batchLimit : int in method private nextInternal(results List<Cell>, batchLimit int, remainingResultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To | |
| Rename Parameter limit : int to batchLimit : int in method public nextRaw(outResults List<Cell>, batchLimit int, remainingResultSize long) : NextState in class org.apache.hadoop.hbase.regionserver.HRegion.RegionScannerImpl | From | To |