1995f61d7fe5f44a679674a887055906652ed3b7
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method public toString() : String from class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles.LoadQueueItem to public toString() : String from class org.apache.hadoop.hbase.tool.BulkLoadHFiles.LoadQueueItem | From | To | |
Pull Up Method public getFilePath() : Path from class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles.LoadQueueItem to public getFilePath() : Path from class org.apache.hadoop.hbase.tool.BulkLoadHFiles.LoadQueueItem | From | To | |
Pull Up Method public getFamily() : byte[] from class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles.LoadQueueItem to public getFamily() : byte[] from class org.apache.hadoop.hbase.tool.BulkLoadHFiles.LoadQueueItem | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type dirPath : String to hfofDir : Path in method private createTable(tableName TableName, hfofDir Path, admin Admin) : void in class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private hfilePath : Path from class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles.LoadQueueItem to private hfilePath : Path from class org.apache.hadoop.hbase.tool.BulkLoadHFiles.LoadQueueItem | From | To | |
Pull Up Attribute private family : byte[] from class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles.LoadQueueItem to private family : byte[] from class org.apache.hadoop.hbase.tool.BulkLoadHFiles.LoadQueueItem | From | To | |
Change Variable Type | 2 | ||
Change Variable Type item : LoadQueueItem to item : BulkLoadHFiles.LoadQueueItem in method public loadHFiles(testName String, htd TableDescriptor, util HBaseTestingUtility, fam byte[], qual byte[], preCreateTable boolean, tableSplitKeys byte[][], hfileRanges byte[][][], useMap boolean, deleteFile boolean, copyFiles boolean, initRowCount int, factor int, depth int) : int in class org.apache.hadoop.hbase.tool.TestLoadIncrementalHFiles | From | To | |
Change Variable Type loader : LoadIncrementalHFiles to loader : BulkLoadHFilesTool in method public loadHFiles(testName String, htd TableDescriptor, util HBaseTestingUtility, fam byte[], qual byte[], preCreateTable boolean, tableSplitKeys byte[][], hfileRanges byte[][][], useMap boolean, deleteFile boolean, copyFiles boolean, initRowCount int, factor int, depth int) : int in class org.apache.hadoop.hbase.tool.TestLoadIncrementalHFiles | From | To | |
Extract Method | 1 | ||
Extract Method protected run(hfofDir Path, tableName TableName) : Map<LoadQueueItem,ByteBuffer> extracted from public run(hfofDir String, tableName TableName) : Map<LoadQueueItem,ByteBuffer> in class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles | From | To | |
Rename Parameter | 1 | ||
Rename Parameter dirPath : String to hfofDir : Path in method private createTable(tableName TableName, hfofDir Path, admin Admin) : void in class org.apache.hadoop.hbase.tool.LoadIncrementalHFiles | From | To |