453b363a7e3c97a2d57984c5e9553413c2d05c6a
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type clientOptions : MongoClientOptions to plugin : MongoStoragePlugin in method public MongoRecordReader(subScanSpec MongoSubScan.MongoSubScanSpec, projectedColumns List<SchemaPath>, context FragmentContext, plugin MongoStoragePlugin) in class org.apache.drill.exec.store.mongo.MongoRecordReader | From | To | |
Move Method | 1 | ||
Move Method public getClient(addresses List<ServerAddress>, clientOptions MongoClientOptions, credential MongoCredential) : MongoClient from class org.apache.drill.exec.store.mongo.MongoCnxnManager to public getClient(addresses List<ServerAddress>) : MongoClient from class org.apache.drill.exec.store.mongo.MongoStoragePlugin | From | To | |
Move Attribute | 1 | ||
Move Attribute private addressClientMap : Cache<MongoCnxnKey,MongoClient> from class org.apache.drill.exec.store.mongo.MongoCnxnManager to private addressClientMap : Cache<MongoCnxnKey,MongoClient> from class org.apache.drill.exec.store.mongo.MongoStoragePlugin | From | To | |
Move Class | 1 | ||
Move Class org.apache.drill.exec.store.mongo.MongoCnxnManager.AddressCloser moved to org.apache.drill.exec.store.mongo.MongoStoragePlugin.AddressCloser | From | To | |
Rename Attribute | 2 | ||
Rename Attribute options : MongoClientOptions to client : MongoClient in class org.apache.drill.exec.store.mongo.schema.MongoSchemaFactory | From | To | |
Rename Attribute clientOptions : MongoClientOptions to plugin : MongoStoragePlugin in class org.apache.drill.exec.store.mongo.MongoRecordReader | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type readNumbersAsDouble : Boolean to readNumbersAsDouble : boolean in class org.apache.drill.exec.store.mongo.MongoRecordReader | From | To | |
Change Attribute Type enableAllTextMode : Boolean to enableAllTextMode : boolean in class org.apache.drill.exec.store.mongo.MongoRecordReader | From | To | |
Change Attribute Type clientOptions : MongoClientOptions to plugin : MongoStoragePlugin in class org.apache.drill.exec.store.mongo.MongoRecordReader | From | To | |
Change Attribute Type options : MongoClientOptions to client : MongoClient in class org.apache.drill.exec.store.mongo.schema.MongoSchemaFactory | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getClient() : MongoClient extracted from public MongoSchemaFactory(schema MongoStoragePlugin, schemaName String) in class org.apache.drill.exec.store.mongo.schema.MongoSchemaFactory & moved to class org.apache.drill.exec.store.mongo.MongoStoragePlugin | From | To | |
Extract And Move Method public getClient() : MongoClient extracted from public getScanStats() : ScanStats in class org.apache.drill.exec.store.mongo.MongoGroupScan & moved to class org.apache.drill.exec.store.mongo.MongoStoragePlugin | From | To | |
Rename Parameter | 2 | ||
Rename Parameter clientOptions : MongoClientOptions to plugin : MongoStoragePlugin in method public MongoRecordReader(subScanSpec MongoSubScan.MongoSubScanSpec, projectedColumns List<SchemaPath>, context FragmentContext, plugin MongoStoragePlugin) in class org.apache.drill.exec.store.mongo.MongoRecordReader | From | To | |
Rename Parameter schema : MongoStoragePlugin to plugin : MongoStoragePlugin in method public MongoSchemaFactory(plugin MongoStoragePlugin, schemaName String) in class org.apache.drill.exec.store.mongo.schema.MongoSchemaFactory | From | To |