13a568a53026df66a0b62e7ce230a2fcfd6731bd
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Push Down Method | 5 | ||
| Push Down Method public next() : Object from class org.apache.drill.exec.store.sys.ProfileIterator to public next() : Object from class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Push Down Method private iterateProfileInfo(context FragmentContext) : Iterator<ProfileInfo> from class org.apache.drill.exec.store.sys.ProfileIterator to private iterateProfileInfo() : Iterator<ProfileInfo> from class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Push Down Method private transform(all Iterator<Map.Entry<String,UserBitShared.QueryProfile>>) : Iterator<ProfileInfo> from class org.apache.drill.exec.store.sys.ProfileIterator to private transform(all Iterator<Entry<String,UserBitShared.QueryProfile>>) : Iterator<ProfileInfo> from class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Push Down Method public remove() : void from class org.apache.drill.exec.store.sys.ProfileIterator to public remove() : void from class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Push Down Method public hasNext() : boolean from class org.apache.drill.exec.store.sys.ProfileIterator to public hasNext() : boolean from class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Extract Subclass | 1 | ||
| Extract Subclass org.apache.drill.exec.store.sys.ProfileInfoIterator from class org.apache.drill.exec.store.sys.ProfileIterator | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type link : String to time : Timestamp in method public ProfileInfo(query_id String, time Timestamp, foreman String, fragmentCount long, username String, queueName String, planDuration long, queueWaitDuration long, executeDuration long, state String, query String) in class org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To | |
| Change Parameter Type all : Iterator<Map.Entry<String,UserBitShared.QueryProfile>> to all : Iterator<Entry<String,UserBitShared.QueryProfile>> in method private transform(all Iterator<Entry<String,UserBitShared.QueryProfile>>) : Iterator<ProfileInfo> in class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Push Down Attribute | 2 | ||
| Push Down Attribute package logger : org.slf4j.Logger from class org.apache.drill.exec.store.sys.ProfileIterator to package logger : org.slf4j.Logger from class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Push Down Attribute private itr : Iterator<ProfileInfo> from class org.apache.drill.exec.store.sys.ProfileIterator to private itr : Iterator<ProfileInfo> from class org.apache.drill.exec.store.sys.ProfileInfoIterator | From | To | |
| Move Class | 1 | ||
| Move Class org.apache.drill.exec.store.sys.ProfileIterator.ProfileInfo moved to org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To | |
| Rename Attribute | 4 | ||
| Rename Attribute itr : Iterator<ProfileInfo> to isAdmin : boolean in class org.apache.drill.exec.store.sys.ProfileIterator | From | To | |
| Rename Attribute query_id : String to queryId : String in class org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To | |
| Rename Attribute link : String to startTime : Timestamp in class org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To | |
| Rename Attribute latency : long to fragments : long in class org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type itr : Iterator<ProfileInfo> to isAdmin : boolean in class org.apache.drill.exec.store.sys.ProfileIterator | From | To | |
| Change Attribute Type link : String to startTime : Timestamp in class org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter link : String to time : Timestamp in method public ProfileInfo(query_id String, time Timestamp, foreman String, fragmentCount long, username String, queueName String, planDuration long, queueWaitDuration long, executeDuration long, state String, query String) in class org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To | |
| Rename Parameter latency : long to fragmentCount : long in method public ProfileInfo(query_id String, time Timestamp, foreman String, fragmentCount long, username String, queueName String, planDuration long, queueWaitDuration long, executeDuration long, state String, query String) in class org.apache.drill.exec.store.sys.ProfileInfoIterator.ProfileInfo | From | To |