48b632cb8c411461198869bd210a5649a27cefe8
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type connection : Connection to dbi : IDBI in method public ShardIterator(tableId long, effectivePredicate TupleDomain<RaptorColumnHandle>, dbi IDBI) in class com.facebook.presto.raptor.metadata.ShardIterator | From | To | |
Rename Variable | 2 | ||
Rename Variable shardId : UUID to shardUuid : UUID in method private compute() : ShardNodes in class com.facebook.presto.raptor.metadata.ShardIterator | From | To | |
Rename Variable nodeIdentifier : String to nodeId : int in method public commitShards(tableId long, columns List<ColumnInfo>, shards Collection<ShardInfo>, externalBatchId Optional<String>) : void in class com.facebook.presto.raptor.metadata.DatabaseShardManager | From | To | |
Change Variable Type | 1 | ||
Change Variable Type nodeIdentifier : String to nodeId : int in method public commitShards(tableId long, columns List<ColumnInfo>, shards Collection<ShardInfo>, externalBatchId Optional<String>) : void in class com.facebook.presto.raptor.metadata.DatabaseShardManager | From | To | |
Extract Method | 3 | ||
Extract Method private deleteShardNodes() : void extracted from public testNoHostForShard() : void in class com.facebook.presto.raptor.metadata.TestRaptorSplitManager | From | To | |
Extract Method private deleteShardNodes() : void extracted from public testAssignRandomNodeWhenBackupAvailable() : void in class com.facebook.presto.raptor.metadata.TestRaptorSplitManager | From | To | |
Extract Method private deleteShardNodes() : void extracted from public testNoNodes() : void in class com.facebook.presto.raptor.metadata.TestRaptorSplitManager | From | To | |
Rename Parameter | 1 | ||
Rename Parameter connection : Connection to dbi : IDBI in method public ShardIterator(tableId long, effectivePredicate TupleDomain<RaptorColumnHandle>, dbi IDBI) in class com.facebook.presto.raptor.metadata.ShardIterator | From | To |