public class CompactDatabaseAction extends ActionBase
batchTEnv, catalog, catalogName, catalogOptions, env, flinkCatalog
Constructor and Description |
---|
CompactDatabaseAction(Map<String,String> catalogConfig) |
Modifier and Type | Method and Description |
---|---|
void |
build()
Builds the action within the given Flink Stream Execution Environment.
|
CompactDatabaseAction |
excludingTables(String excludingTables) |
CompactDatabaseAction |
includingDatabases(String includingDatabases) |
CompactDatabaseAction |
includingTables(String includingTables) |
void |
run()
The execution method of the action.
|
CompactDatabaseAction |
withDatabaseCompactMode(String mode) |
CompactDatabaseAction |
withFullCompaction(boolean fullCompaction) |
CompactDatabaseAction |
withPartitionIdleTime(java.time.Duration partitionIdleTime) |
CompactDatabaseAction |
withTableOptions(Map<String,String> tableOptions) |
catalogConfig, catalogLoader, compatibleCheck, execute, initFlinkCatalog, initFlinkEnv, initPaimonCatalog, toPaimonTypes, withStreamExecutionEnvironment
public CompactDatabaseAction includingDatabases(@Nullable String includingDatabases)
public CompactDatabaseAction includingTables(@Nullable String includingTables)
public CompactDatabaseAction excludingTables(@Nullable String excludingTables)
public CompactDatabaseAction withDatabaseCompactMode(@Nullable String mode)
public CompactDatabaseAction withTableOptions(Map<String,String> tableOptions)
public CompactDatabaseAction withPartitionIdleTime(@Nullable java.time.Duration partitionIdleTime)
public CompactDatabaseAction withFullCompaction(boolean fullCompaction)
public void build()
Action
This method is responsible for setting up any necessary configurations or resources needed for the action to run. It is called before the `run` method to prepare the environment for execution.
By default, this method is empty and can be overridden by subclasses to provide custom setup logic.
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.