Modifier and Type | Class and Description |
---|---|
static class |
IcebergMigrator.MigrateTask
One import task for one partition.
|
Constructor and Description |
---|
IcebergMigrator(Catalog paimonCatalog,
String paimonDatabaseName,
String paimonTableName,
String icebergDatabaseName,
String icebergTableName,
Options icebergOptions,
Integer parallelism) |
Modifier and Type | Method and Description |
---|---|
void |
deleteOriginTable(boolean delete) |
void |
executeMigrate() |
Schema |
icebergSchemaToPaimonSchema(IcebergMetadata icebergMetadata) |
void |
renameTable(boolean ignoreIfNotExists) |
public void executeMigrate() throws Exception
executeMigrate
in interface Migrator
Exception
public void deleteOriginTable(boolean delete) throws Exception
deleteOriginTable
in interface Migrator
Exception
public void renameTable(boolean ignoreIfNotExists) throws Exception
renameTable
in interface Migrator
Exception
public Schema icebergSchemaToPaimonSchema(IcebergMetadata icebergMetadata)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.