e2ec76559b1d36fee7b696d7ee2989059e2bbe8c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getMaxSizeBytes() : long renamed to public getBatchSizeBytes() : long in class org.apache.phoenix.execute.MutationState | From | To | |
Rename Variable | 1 | ||
Rename Variable batchSize : int to maxBatchSize : int in method private rebuildIndices(innerScanner RegionScanner, region Region, scan Scan, config Configuration) : RegionScanner in class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable connection : PhoenixConnection to conn : PhoenixConnection in method private upsertRows(conn PhoenixConnection, fullTableName String) : void in class org.apache.phoenix.end2end.QueryMoreIT | From | To | |
Rename Attribute | 1 | ||
Rename Attribute maxSizeBytes : long to batchSizeBytes : long in class org.apache.phoenix.execute.MutationState | From | To | |
Split Parameter | 1 | ||
Split Parameter mutations : MutationList to [rowCount : int, mutationSize : long] in method private readyToCommit(rowCount int, mutationSize long, maxBatchSize int, maxBatchSizeBytes long) : boolean in class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver | From | To | |
Change Variable Type | 2 | ||
Change Variable Type rowCount : long to rowCount : int in method private rebuildIndices(innerScanner RegionScanner, region Region, scan Scan, config Configuration) : RegionScanner in class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver | From | To | |
Change Variable Type rowCount : long to rowCount : int in method protected doPostScannerOpen(c ObserverContext<RegionCoprocessorEnvironment>, scan Scan, s RegionScanner) : RegionScanner in class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver | From | To | |
Extract Method | 1 | ||
Extract Method private upsertRows(conn PhoenixConnection, fullTableName String) : void extracted from public testMutationBatch() : void in class org.apache.phoenix.end2end.QueryMoreIT | From | To | |
Rename Parameter | 1 | ||
Rename Parameter maxSize : long to batchSize : long in method public getMutationBatchList(batchSize long, batchSizeBytes long, allMutationList List<Mutation>) : List<List<Mutation>> in class org.apache.phoenix.execute.MutationState | From | To |