9b12138820908daa88f33077b4727cee98caf86b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type isExistingTable : boolean to tableType : TableType in method public LocationHandle(targetPath Path, writePath Path, tableType TableType, writeMode WriteMode) in class com.facebook.presto.hive.LocationHandle | From | To | |
Change Parameter Type isExistingTable : boolean to tableType : TableType in method private createLocationHandle(context HdfsContext, session ConnectorSession, targetPath Path, tableType TableType) : LocationHandle in class com.facebook.presto.hive.HiveLocationService | From | To | |
Change Parameter Type isExistingTable : boolean to tableType : TableType in method public LocationHandle(targetPath String, writePath String, tableType TableType, writeMode WriteMode) in class com.facebook.presto.hive.LocationHandle | From | To | |
Rename Attribute | 1 | ||
Rename Attribute isExistingTable : boolean to tableType : TableType in class com.facebook.presto.hive.LocationHandle | From | To | |
Extract Variable | 1 | ||
Extract Variable tableType : PrestoTableType in method public checkTableIsWritable(table Table, writesToNonManagedTablesEnabled boolean) : void from class com.facebook.presto.hive.HiveWriteUtils | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type isExistingTable : boolean to tableType : TableType in class com.facebook.presto.hive.LocationHandle | From | To | |
Extract Method | 1 | ||
Extract Method private getColumnHandles(columns List<ColumnMetadata>, partitionColumnNames Set<String>, typeTranslator TypeTranslator) : List<HiveColumnHandle> extracted from private getColumnHandles(tableMetadata ConnectorTableMetadata, partitionColumnNames Set<String>, typeTranslator TypeTranslator) : List<HiveColumnHandle> in class com.facebook.presto.hive.HiveMetadata | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getTemporaryTableStorageFormat() : HiveStorageFormat extracted from public HiveSessionProperties(hiveClientConfig HiveClientConfig, orcFileWriterConfig OrcFileWriterConfig, parquetFileWriterConfig ParquetFileWriterConfig) in class com.facebook.presto.hive.HiveSessionProperties & moved to class com.facebook.presto.hive.HiveClientConfig | From | To | |
Extract And Move Method public getTemporaryTableSchema() : String extracted from public HiveSessionProperties(hiveClientConfig HiveClientConfig, orcFileWriterConfig OrcFileWriterConfig, parquetFileWriterConfig ParquetFileWriterConfig) in class com.facebook.presto.hive.HiveSessionProperties & moved to class com.facebook.presto.hive.HiveClientConfig | From | To | |
Rename Parameter | 3 | ||
Rename Parameter isExistingTable : boolean to tableType : TableType in method public LocationHandle(targetPath Path, writePath Path, tableType TableType, writeMode WriteMode) in class com.facebook.presto.hive.LocationHandle | From | To | |
Rename Parameter isExistingTable : boolean to tableType : TableType in method private createLocationHandle(context HdfsContext, session ConnectorSession, targetPath Path, tableType TableType) : LocationHandle in class com.facebook.presto.hive.HiveLocationService | From | To | |
Rename Parameter isExistingTable : boolean to tableType : TableType in method public LocationHandle(targetPath String, writePath String, tableType TableType, writeMode WriteMode) in class com.facebook.presto.hive.LocationHandle | From | To |