c91bfff5862fd38b3d301e3371d2f643d0c501ea
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable size : int to scannedCount : int in method private countRows(scanner InternalScanner) : int in class org.apache.hadoop.hbase.regionserver.TestMobStoreCompaction | From | To | |
Parameterize Variable | 4 | ||
Parameterize Variable tn : TableName to tableName : TableName in method private testGet(tableName TableName, reversed boolean, doFlush boolean) : void in class org.apache.hadoop.hbase.regionserver.TestMobStoreScanner | From | To | |
Parameterize Variable tn : TableName to tableName : TableName in method private createTableDescriptor(tableName TableName, hasMob boolean) : HTableDescriptor in class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Inline Variable | 3 | ||
Inline Variable admin : HBaseAdmin in method public testDeleteMobTable() : void from class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Inline Variable admin : HBaseAdmin in method public testMobFamilyDelete() : void from class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Inline Variable admin : HBaseAdmin in method public testDeleteNonMobTable() : void from class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Extract Method | 19 | ||
Extract Method private createTableDescriptor(tableName TableName, hasMob boolean) : HTableDescriptor extracted from public testMobFamilyDelete() : void in class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Extract Method private createTableDescriptor(tableName TableName, hasMob boolean) : HTableDescriptor extracted from public testDeleteNonMobTable() : void in class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Extract Method private testCompactDelFilesAtBatchSize(tableName String, batchSize int, delfileMaxCount int) : void extracted from public testCompactDelFilesChangeMaxDelFileCount() : void in class org.apache.hadoop.hbase.mob.compactions.TestPartitionedMobCompactor | From | To | |
Extract Method public countRows(table Table, scan Scan) : int extracted from public countRows(table Table) : int in class org.apache.hadoop.hbase.HBaseTestingUtility | From | To | |
Extract Method private testGet(tableName TableName, reversed boolean, doFlush boolean) : void extracted from private testGetFromMemStore(reversed boolean) : void in class org.apache.hadoop.hbase.regionserver.TestMobStoreScanner | From | To | |
Extract Method private createTableWithOneFile(htd HTableDescriptor) : Table extracted from public testMobFamilyDelete() : void in class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Extract Method private createTableWithOneFile(htd HTableDescriptor) : Table extracted from public testDeleteMobTable() : void in class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Extract Method private testCompactionAtMergeSize(tableName String, mergeSize long, type CompactionType, isForceAllFiles boolean) : void extracted from public testCompactionSelectWithForceAllFiles() : void in class org.apache.hadoop.hbase.mob.compactions.TestPartitionedMobCompactor | From | To | |
Extract Method private testCompactDelFilesAtBatchSize(tableName String, batchSize int, delfileMaxCount int) : void extracted from public testCompactDelFilesWithDefaultBatchSize() : void in class org.apache.hadoop.hbase.mob.compactions.TestPartitionedMobCompactor | From | To | |
Extract Method private countRows(scanner InternalScanner) : int extracted from private countRows() : int in class org.apache.hadoop.hbase.regionserver.TestMobStoreCompaction | From | To | |
Extract Method private createTableDescriptor(tableName TableName, hasMob boolean) : HTableDescriptor extracted from public testDeleteMobTable() : void in class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Extract Method private testCompactionAtMergeSize(tableName String, mergeSize long, type CompactionType, isForceAllFiles boolean) : void extracted from public testCompactionSelectWithAllFiles() : void in class org.apache.hadoop.hbase.mob.compactions.TestPartitionedMobCompactor | From | To | |
Extract Method private testFlushFile(htd HTableDescriptor) : void extracted from public testFlushNonMobFile() : void in class org.apache.hadoop.hbase.mob.TestDefaultMobStoreFlusher | From | To | |
Extract Method private createTableWithOneFile(htd HTableDescriptor) : Table extracted from public testDeleteNonMobTable() : void in class org.apache.hadoop.hbase.regionserver.TestDeleteMobTable | From | To | |
Extract Method private testCompactionAtMergeSize(tableName String, mergeSize long, type CompactionType, isForceAllFiles boolean) : void extracted from public testCompactionSelectWithPartFiles() : void in class org.apache.hadoop.hbase.mob.compactions.TestPartitionedMobCompactor | From | To | |
Extract Method private testCompactDelFilesAtBatchSize(tableName String, batchSize int, delfileMaxCount int) : void extracted from public testCompactDelFilesWithSmallBatchSize() : void in class org.apache.hadoop.hbase.mob.compactions.TestPartitionedMobCompactor | From | To | |
Extract Method private testGet(tableName TableName, reversed boolean, doFlush boolean) : void extracted from private testGetFromFiles(reversed boolean) : void in class org.apache.hadoop.hbase.regionserver.TestMobStoreScanner | From | To | |
Extract Method private testFlushFile(htd HTableDescriptor) : void extracted from public testFlushMobFile() : void in class org.apache.hadoop.hbase.mob.TestDefaultMobStoreFlusher | From | To | |
Extract Method private countRows(scanner InternalScanner) : int extracted from private countMobCellsInMobFiles(expectedNumDelfiles int) : int in class org.apache.hadoop.hbase.regionserver.TestMobStoreCompaction | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public countRows(table Table, scan Scan) : int extracted from private countMobRows(table Table) : int in class org.apache.hadoop.hbase.mob.compactions.TestMobCompactor & moved to class org.apache.hadoop.hbase.HBaseTestingUtility | From | To | |
Extract And Move Method public assertCellsValue(table Table, scan Scan, expectedValue byte[], expectedCount int) : void extracted from private testGetFromArchive(reversed boolean) : void in class org.apache.hadoop.hbase.regionserver.TestMobStoreScanner & moved to class org.apache.hadoop.hbase.mob.MobTestUtil | From | To | |
Extract And Move Method public assertCellsValue(table Table, scan Scan, expectedValue byte[], expectedCount int) : void extracted from public testDataBlockEncoding(encoding DataBlockEncoding) : void in class org.apache.hadoop.hbase.mob.TestMobDataBlockEncoding & moved to class org.apache.hadoop.hbase.mob.MobTestUtil | From | To |