83827cd8c2876c6b6dccf3a5678889b40a76261b
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable physicalIndexTable : String to splitKeysBeforeJob : byte[][] in method public run(args String[]) : int in class org.apache.phoenix.mapreduce.index.IndexTool | From | To | |
Rename Variable status : boolean to result : boolean in method public run(args String[]) : int in class org.apache.phoenix.mapreduce.index.IndexTool | From | To | |
Inline Method | 3 | ||
Inline Method private configureSubmittableJobUsingDirectApi(job Job, outputPath Path, runForeground boolean) : void inlined to public run(args String[]) : int in class org.apache.phoenix.mapreduce.index.IndexTool | From | To | |
Inline Method private configureRunnableJobUsingBulkLoad(job Job, outputPath Path, isLocalIndexBuild boolean) : void inlined to public run(args String[]) : int in class org.apache.phoenix.mapreduce.index.IndexTool | From | To | |
Change Variable Type | 1 | ||
Change Variable Type physicalIndexTable : String to splitKeysBeforeJob : byte[][] in method public run(args String[]) : int in class org.apache.phoenix.mapreduce.index.IndexTool | From | To | |
Extract Variable | 1 | ||
Extract Variable indexStateKVIndex : int in method public updateIndexState(controller RpcController, request UpdateIndexStateRequest, done RpcCallback<MetaDataResponse>) : void from class org.apache.phoenix.coprocessor.MetaDataEndpointImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public disableIndexWithTimestamp(indexTableName String, minTimeStamp long, metaTable HTableInterface, blockWriteRebuildIndex boolean) : MetaDataMutationResult extracted from private handleFailureWithExceptions(attempted Multimap<HTableInterfaceReference,Mutation>, cause Exception, blockWriteRebuildIndex boolean) : void in class org.apache.phoenix.index.PhoenixIndexFailurePolicy & moved to class org.apache.phoenix.util.IndexUtil | From | To |