d18afe183525db7e1b9aba4e469ab39931204070
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable hasMultiColumnSpan : boolean to useSkipScan : boolean in method public pushKeyExpressionsToScan(context StatementContext, statement FilterableStatement, whereClause Expression, extractNodes Set<Expression>) : Expression in class org.apache.phoenix.compile.WhereOptimizer | From | To | |
Rename Variable hasNonPointKey : boolean to hasRangeKey : boolean in method public pushKeyExpressionsToScan(context StatementContext, statement FilterableStatement, whereClause Expression, extractNodes Set<Expression>) : Expression in class org.apache.phoenix.compile.WhereOptimizer | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable useSkipScanFilter : boolean to useSkipScan : boolean in method public create(schema RowKeySchema, ranges List<List<KeyRange>>, slotSpan int[], minMaxRange KeyRange, nBuckets Integer, useSkipScan boolean) : ScanRanges in class org.apache.phoenix.compile.ScanRanges | From | To | |
Extract Variable | 2 | ||
Extract Variable table : PTable in method public getKeyExpressionCombination(result List<Expression>, context StatementContext, statement FilterableStatement, expressions List<Expression>) : boolean from class org.apache.phoenix.compile.WhereOptimizer | From | To | |
Extract Variable nSlots : int in method public create(schema RowKeySchema, ranges List<List<KeyRange>>, slotSpan int[], minMaxRange KeyRange, nBuckets Integer, useSkipScan boolean) : ScanRanges from class org.apache.phoenix.compile.ScanRanges | From | To | |
Extract Method | 1 | ||
Extract Method private isFullyQualified(schema RowKeySchema, ranges List<List<KeyRange>>, slotSpan int[]) : boolean extracted from private isPointLookup(schema RowKeySchema, ranges List<List<KeyRange>>, slotSpan int[]) : boolean in class org.apache.phoenix.compile.ScanRanges | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public createPointLookup(keys List<KeyRange>) : ScanRanges extracted from public testPointLookupIntersect() : void in class org.apache.phoenix.compile.ScanRangesIntersectTest & moved to class org.apache.phoenix.compile.ScanRanges | From | To | |
Extract And Move Method public createPointLookup(keys List<KeyRange>) : ScanRanges extracted from public newScanRanges(mutations List<Mutation>) : ScanRanges in class org.apache.phoenix.util.ScanUtil & moved to class org.apache.phoenix.compile.ScanRanges | From | To | |
Extract And Move Method public createPointLookup(keys List<KeyRange>) : ScanRanges extracted from private buildFunctions(keys List<byte[]>, region Region, clientTimeStamp long, isReplace boolean, deleteMutationsForReplace List<Mutation>) : List<PFunction> in class org.apache.phoenix.coprocessor.MetaDataEndpointImpl & moved to class org.apache.phoenix.compile.ScanRanges | From | To | |
Extract And Move Method public createPointLookup(keys List<KeyRange>) : ScanRanges extracted from public batchStarted(miniBatchOp MiniBatchOperationInProgress<Mutation>) : void in class org.apache.phoenix.index.PhoenixIndexBuilder & moved to class org.apache.phoenix.compile.ScanRanges | From | To |