Package org.apache.iceberg.actions
Interface MigrateTable
- All Superinterfaces:
 Action<MigrateTable,MigrateTable.Result> 
- All Known Implementing Classes:
 MigrateTableSparkAction
An action that migrates an existing table to Iceberg.
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe action result that contains a summary of the execution. - 
Method Summary
Modifier and TypeMethodDescriptiondefault MigrateTablebackupTableName(String tableName) Sets a table name for the backup of the original table.default MigrateTableDrops the backup of the original table after a successful migrationdefault MigrateTableexecuteWith(ExecutorService service) Sets the executor service to use for parallel file reading.tableProperties(Map<String, String> properties) Sets table properties in the newly created Iceberg table.tableProperty(String name, String value) Sets a table property in the newly created Iceberg table. 
- 
Method Details
- 
tableProperties
Sets table properties in the newly created Iceberg table. Any properties with the same key name will be overwritten.- Parameters:
 properties- a map of properties to set- Returns:
 - this for method chaining
 
 - 
tableProperty
Sets a table property in the newly created Iceberg table. Any properties with the same key will be overwritten.- Parameters:
 name- a table property namevalue- a table property value- Returns:
 - this for method chaining
 
 - 
dropBackup
Drops the backup of the original table after a successful migration- Returns:
 - this for method chaining
 
 - 
backupTableName
Sets a table name for the backup of the original table.- Parameters:
 tableName- the table name for backup- Returns:
 - this for method chaining
 
 - 
executeWith
Sets the executor service to use for parallel file reading. The default is not using executor service.- Parameters:
 service- executor service- Returns:
 - this for method chaining
 
 
 -