711d7f0639d294974c2f56c7d604bc37c22e0a95
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public clear() : void renamed to public init() : void in class org.apache.phoenix.schema.stats.StatisticsCollector | From | To | |
Rename Method public clear() : void renamed to public init() : void in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Rename Method public testAvgGroupByOrderPreserving() : void renamed to public testAvgGroupByOrderPreservingWithStats() : void in class org.apache.phoenix.end2end.GroupByCaseIT | From | To | |
Rename Method public getUserTableName(localIndexTableName String) : String renamed to public getLocalIndexUserTableName(localIndexTableName String) : String in class org.apache.phoenix.util.MetaDataUtil | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type propertyValue : long to propertyValue : Long in method private mutateLongProperty(tenantId String, schemaName String, tableName String, propertyName String, propertyValue Long) : void in class org.apache.phoenix.schema.MetaDataClient | From | To | |
Change Parameter Type projectCF : byte[] to projectCFs : List<byte[]> in method public compile(tableRefs List<TableRef>, emptyCF byte[], projectCFs List<byte[]>, deleteList List<PColumn>, timestamp long) : MutationPlan in class org.apache.phoenix.compile.PostDDLCompiler | From | To | |
Rename Variable | 1 | ||
Rename Variable viewName : String to fullViewName : String in method public testDeleteViewIndexSequences() : void in class org.apache.phoenix.end2end.index.ViewIndexIT | From | To | |
Rename Attribute | 1 | ||
Rename Attribute cachedGps : Pair<Long,GuidePostsInfoBuilder> to cachedGuidePosts : Pair<Long,GuidePostsInfoBuilder> in class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Extract Variable | 1 | ||
Extract Variable fams : Set<ImmutableBytesPtr> in method private writeStatsToStatsTable(region Region, delete boolean, mutations List<Mutation>, currentTime long) : void from class org.apache.phoenix.schema.stats.DefaultStatisticsCollector | From | To | |
Extract Method | 5 | ||
Extract Method public createStatisticsCollector(env RegionCoprocessorEnvironment, tableName String, clientTimeStamp long, storeName byte[], guidepostWidthBytes byte[], guidepostsPerRegionBytes byte[]) : StatisticsCollector extracted from public createStatisticsCollector(env RegionCoprocessorEnvironment, tableName String, clientTimestamp long, guidepostWidthBytes byte[], guidepostsPerRegionBytes byte[]) : StatisticsCollector in class org.apache.phoenix.schema.stats.StatisticsCollectorFactory | From | To | |
Extract Method public createStatisticsCollector(env RegionCoprocessorEnvironment, tableName String, clientTimeStamp long, storeName byte[], guidepostWidthBytes byte[], guidepostsPerRegionBytes byte[]) : StatisticsCollector extracted from public createStatisticsCollector(env RegionCoprocessorEnvironment, tableName String, clientTimeStamp long, storeName byte[]) : StatisticsCollector in class org.apache.phoenix.schema.stats.StatisticsCollectorFactory | From | To | |
Extract Method private updateStatisticsInternal(physicalName PName, logicalTable PTable, statsProps Map<String,Object>, cfs List<byte[]>) : long extracted from private updateStatisticsInternal(physicalName PName, logicalTable PTable, statsProps Map<String,Object>) : long in class org.apache.phoenix.schema.MetaDataClient | From | To | |
Extract Method private initAvgGroupTable(conn Connection, tableName String, tableProps String) : void extracted from public testAvgGroupByOrderPreserving() : void in class org.apache.phoenix.end2end.GroupByCaseIT | From | To | |
Extract Method private testAvgGroupByOrderPreserving(conn Connection, tableName String, nGuidePosts int) : void extracted from public testAvgGroupByOrderPreserving() : void in class org.apache.phoenix.end2end.GroupByCaseIT | From | To | |
Rename Parameter | 3 | ||
Rename Parameter clientTimestamp : long to clientTimeStamp : long in method public createStatisticsCollector(env RegionCoprocessorEnvironment, tableName String, clientTimeStamp long, storeName byte[], guidepostWidthBytes byte[], guidepostsPerRegionBytes byte[]) : StatisticsCollector in class org.apache.phoenix.schema.stats.StatisticsCollectorFactory | From | To | |
Rename Parameter projectCF : byte[] to projectCFs : List<byte[]> in method public compile(tableRefs List<TableRef>, emptyCF byte[], projectCFs List<byte[]>, deleteList List<PColumn>, timestamp long) : MutationPlan in class org.apache.phoenix.compile.PostDDLCompiler | From | To | |
Rename Parameter clientTimestamp : long to clientTimeStamp : long in method public createStatisticsCollector(env RegionCoprocessorEnvironment, tableName String, clientTimeStamp long, guidepostWidthBytes byte[], guidepostsPerRegionBytes byte[]) : StatisticsCollector in class org.apache.phoenix.schema.stats.StatisticsCollectorFactory | From | To |