ab9a6396b73648545b7bbaeb89ab55956ba5c096
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private useTemporaryDirectory(path Path) : boolean from class com.facebook.presto.hive.HiveMetadata to private shouldUseTemporaryDirectory(path Path) : boolean from class com.facebook.presto.hive.HiveLocationService | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type writePath : Optional<String> to locationHandle : LocationHandle in method public HiveInsertTableHandle(clientId String, schemaName String, tableName String, inputColumns List<HiveColumnHandle>, filePrefix String, locationHandle LocationHandle, hiveStorageFormat HiveStorageFormat) in class com.facebook.presto.hive.HiveInsertTableHandle | From | To | |
Change Parameter Type writePath : Optional<String> to locationHandle : LocationHandle in method public HiveWritableTableHandle(clientId String, schemaName String, tableName String, inputColumns List<HiveColumnHandle>, filePrefix String, locationHandle LocationHandle, hiveStorageFormat HiveStorageFormat) in class com.facebook.presto.hive.HiveWritableTableHandle | From | To | |
Change Parameter Type writePath : Path to writePath : String in method public HiveRecordWriter(schemaName String, tableName String, partitionName String, isNew boolean, inputColumnNames List<String>, inputColumnTypes List<Type>, outputFormat String, serDe String, schema Properties, fileName String, writePath String, targetPath String, typeManager TypeManager, conf JobConf) in class com.facebook.presto.hive.HivePageSink.HiveRecordWriter | From | To | |
Change Return Type | 1 | ||
Change Return Type String to Path in method public createTemporaryPath(hdfsEnvironment HdfsEnvironment, targetPath Path) : Path in class com.facebook.presto.hive.HiveWriteUtils | From | To | |
Move Attribute | 1 | ||
Move Attribute private writePath : Optional<Path> from class com.facebook.presto.hive.HivePageSink to private writePath : Optional<Path> from class com.facebook.presto.hive.LocationHandle | From | To | |
Extract Class | 2 | ||
Extract Class com.facebook.presto.hive.LocationHandle from class com.facebook.presto.hive.HivePageSink | From | To | |
Extract Class com.facebook.presto.hive.LocationHandle from class com.facebook.presto.hive.HiveWritableTableHandle | From | To | |
Rename Attribute | 2 | ||
Rename Attribute writePath : Optional<String> to locationHandle : LocationHandle in class com.facebook.presto.hive.HiveWritableTableHandle | From | To | |
Rename Attribute writePath : Optional<Path> to locationHandle : LocationHandle in class com.facebook.presto.hive.HivePageSink | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type writePath : Optional<String> to locationHandle : LocationHandle in class com.facebook.presto.hive.HiveWritableTableHandle | From | To | |
Change Attribute Type writePath : Path to writePath : String in class com.facebook.presto.hive.HivePageSink.HiveRecordWriter | From | To | |
Change Attribute Type writePath : Optional<Path> to locationHandle : LocationHandle in class com.facebook.presto.hive.HivePageSink | From | To | |
Rename Parameter | 2 | ||
Rename Parameter writePath : Optional<String> to locationHandle : LocationHandle in method public HiveInsertTableHandle(clientId String, schemaName String, tableName String, inputColumns List<HiveColumnHandle>, filePrefix String, locationHandle LocationHandle, hiveStorageFormat HiveStorageFormat) in class com.facebook.presto.hive.HiveInsertTableHandle | From | To | |
Rename Parameter writePath : Optional<String> to locationHandle : LocationHandle in method public HiveWritableTableHandle(clientId String, schemaName String, tableName String, inputColumns List<HiveColumnHandle>, filePrefix String, locationHandle LocationHandle, hiveStorageFormat HiveStorageFormat) in class com.facebook.presto.hive.HiveWritableTableHandle | From | To |