public class CleanupRecordsFunction extends Object implements TransactionalFunction<Void>
| Constructor and Description |
|---|
CleanupRecordsFunction(HiveObjectType type,
Database db,
Table table,
Iterator<Partition> partitionIterator,
String defaultCatalog,
boolean keepTxnToWriteIdMetaData,
Long txnId) |
| 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.