public class WriteStatBasedIndexingCatchupTask extends AbstractIndexingCatchupTask
currentCaughtupInstant, engineContext, heartbeatClient, instantsToIndex, metaClient, metadataCompletedInstants, metadataMetaClient, metadataWriter, table, transactionManager| Constructor and Description |
|---|
WriteStatBasedIndexingCatchupTask(HoodieTableMetadataWriter metadataWriter,
List<HoodieInstant> instantsToIndex,
Set<String> metadataCompletedInstants,
HoodieTableMetaClient metaClient,
HoodieTableMetaClient metadataMetaClient,
String currentCaughtupInstant,
TransactionManager txnManager,
HoodieEngineContext engineContext,
HoodieTable table,
HoodieHeartbeatClient heartbeatClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateIndexForWriteAction(HoodieInstant instant)
Updates metadata table for the instant.
|
runpublic WriteStatBasedIndexingCatchupTask(HoodieTableMetadataWriter metadataWriter, List<HoodieInstant> instantsToIndex, Set<String> metadataCompletedInstants, HoodieTableMetaClient metaClient, HoodieTableMetaClient metadataMetaClient, String currentCaughtupInstant, TransactionManager txnManager, HoodieEngineContext engineContext, HoodieTable table, HoodieHeartbeatClient heartbeatClient)
public void updateIndexForWriteAction(HoodieInstant instant) throws IOException
AbstractIndexingCatchupTaskupdateIndexForWriteAction in interface IndexingCatchupTaskupdateIndexForWriteAction in class AbstractIndexingCatchupTaskinstant - HoodieInstant for which to update metadata tableIOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.