98afee910a8e1b1d34f2b1659da74a7a04ea1bb6
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private createCompactionSets(tableId long, tableShards Collection<ShardMetadata>) : Collection<OrganizationSet> renamed to private filterAndCreateCompactionSets(tableId long, tableShards Collection<ShardMetadata>) : Collection<OrganizationSet> in class com.facebook.presto.raptor.storage.organization.ShardCompactionManager | From | To | |
Pull Up Method | 3 | ||
Pull Up Method public FileCompactionSetCreator(maxShardSize DataSize, maxShardRows long) from class com.facebook.presto.raptor.storage.organization.FileCompactionSetCreator to public CompactionSetCreator(maxShardSize DataSize, maxShardRows long) from class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Pull Up Method public createCompactionSets(tableInfo Table, shardInfos Collection<ShardIndexInfo>) : Set<OrganizationSet> from class com.facebook.presto.raptor.storage.organization.FileCompactionSetCreator to public createCompactionSets(tableInfo Table, shards Collection<ShardIndexInfo>) : Set<OrganizationSet> from class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Pull Up Method public createCompactionSets(tableInfo Table, shardMetadata Collection<ShardIndexInfo>) : Set<OrganizationSet> from class com.facebook.presto.raptor.storage.organization.TemporalCompactionSetCreator to private buildCompactionSets(tableInfo Table, shardIndexInfos Set<ShardIndexInfo>) : Set<OrganizationSet> from class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type shardMetadata : Collection<ShardIndexInfo> to shardIndexInfos : Set<ShardIndexInfo> in method private buildCompactionSets(tableInfo Table, shardIndexInfos Set<ShardIndexInfo>) : Set<OrganizationSet> in class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private maxShardSize : DataSize from class com.facebook.presto.raptor.storage.organization.FileCompactionSetCreator to private maxShardSize : DataSize from class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Pull Up Attribute private maxShardRows : long from class com.facebook.presto.raptor.storage.organization.FileCompactionSetCreator to private maxShardRows : long from class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Pull Up Attribute private maxShardRows : long from class com.facebook.presto.raptor.storage.organization.TemporalCompactionSetCreator to private maxShardRows : long from class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Rename Parameter | 2 | ||
Rename Parameter shardMetadata : Collection<ShardIndexInfo> to shardIndexInfos : Set<ShardIndexInfo> in method private buildCompactionSets(tableInfo Table, shardIndexInfos Set<ShardIndexInfo>) : Set<OrganizationSet> in class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To | |
Rename Parameter shardInfos : Collection<ShardIndexInfo> to shards : Collection<ShardIndexInfo> in method public createCompactionSets(tableInfo Table, shards Collection<ShardIndexInfo>) : Set<OrganizationSet> in class com.facebook.presto.raptor.storage.organization.CompactionSetCreator | From | To |