de9a2c7b0249cd5a1a75374aa5244d5ee076f3c1
Files Diff
- Added: 14
- Removed: 0
- Renamed: 0
- Modified: 68
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable logicalIndexTable : String to physicalIndexTable : String in method private configureRunnableJobUsingBulkLoad(job Job, outputPath Path) : int in class org.apache.phoenix.mapreduce.index.IndexTool | From | To | |
Extract Variable | 1 | ||
Extract Variable schema : String in method public SingleTableColumnResolver(connection PhoenixConnection, table NamedTableNode, timeStamp long, udfParseNodes Map<String,UDFParseNode>) from class org.apache.phoenix.compile.FromCompiler.SingleTableColumnResolver | From | To | |
Extract Method | 5 | ||
Extract Method public getSchemaNameFromFullName(tableName String, separator String) : String extracted from public getSchemaNameFromFullName(tableName String) : String in class org.apache.phoenix.util.SchemaUtil | From | To | |
Extract Method public testViewAndTableInDifferentSchemas(isNamespaceMapped boolean) : void extracted from public testViewAndTableInDifferentSchemas() : void in class org.apache.phoenix.end2end.ViewIT | From | To | |
Extract Method private checkKeyInRegion(key byte[], region Region, code MutationCode) : MetaDataMutationResult extracted from private checkTableKeyInRegion(key byte[], region Region) : MetaDataMutationResult in class org.apache.phoenix.coprocessor.MetaDataEndpointImpl | From | To | |
Extract Method public getTableNameFromFullName(tableName String, separator String) : String extracted from public getTableNameFromFullName(tableName String) : String in class org.apache.phoenix.util.SchemaUtil | From | To | |
Extract Method private checkKeyInRegion(key byte[], region Region, code MutationCode) : MetaDataMutationResult extracted from private checkFunctionKeyInRegion(key byte[], region Region) : MetaDataMutationResult in class org.apache.phoenix.coprocessor.MetaDataEndpointImpl | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getOutputPath(outputdir Path, tableName String) : Path extracted from package createRecordWriter(context TaskAttemptContext) : RecordWriter<TableRowkeyPair,V> in class org.apache.phoenix.mapreduce.MultiHfileOutputFormat & moved to class org.apache.phoenix.mapreduce.CsvBulkImportUtil | From | To | |
Extract And Move Method public getPhysicalTableName(fullTableName byte[], conf Configuration) : TableName extracted from public testLocalIndexStateWhenSplittingInProgress() : void in class org.apache.phoenix.end2end.index.LocalIndexIT & moved to class org.apache.phoenix.util.SchemaUtil | From | To | |
Rename Parameter | 2 | ||
Rename Parameter name : PName to physicalName : PName in method public hasViewIndexTable(connection PhoenixConnection, physicalName PName) : boolean in class org.apache.phoenix.util.MetaDataUtil | From | To | |
Rename Parameter name : PName to physicalName : PName in method public hasLocalIndexTable(connection PhoenixConnection, physicalName PName) : boolean in class org.apache.phoenix.util.MetaDataUtil | From | To |