public class OnRenameFunction extends Object implements TransactionalFunction<Void>
| Constructor and Description |
|---|
OnRenameFunction(String oldCatName,
String oldDbName,
String oldTabName,
String oldPartName,
String newCatName,
String newDbName,
String newTabName,
String newPartName) |
| Modifier and Type | Method and Description |
|---|---|
Void |
execute(MultiDataSourceJdbcResource jdbcResource)
Implementations typically should execute transsactional database calls inside.
|
public Void execute(MultiDataSourceJdbcResource jdbcResource) throws MetaException
TransactionalFunctionexecute in interface TransactionalFunction<Void>jdbcResource - A MultiDataSourceJdbcResource instance responsible for providing all the necessary resources
to be able to perform transactional database calls.MetaException - Thrown in case of application error within the functionCopyright © 2024 The Apache Software Foundation. All rights reserved.