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