public interface HoodieTableMetadataWriter extends Serializable, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
update(HoodieCleanMetadata cleanMetadata,
String instantTime)
Update the metadata table due to a CLEAN operation.
|
void |
update(HoodieCommitMetadata commitMetadata,
String instantTime,
boolean isTableServiceAction)
Update the metadata table due to a COMMIT operation.
|
void |
update(HoodieRestoreMetadata restoreMetadata,
String instantTime)
Update the metadata table due to a RESTORE operation.
|
void |
update(HoodieRollbackMetadata rollbackMetadata,
String instantTime)
Update the metadata table due to a ROLLBACK operation.
|
closevoid update(HoodieCommitMetadata commitMetadata, String instantTime, boolean isTableServiceAction)
commitMetadata - commit metadata of the operation of interest.instantTime - instant time of the commit.isTableServiceAction - true if caller is a table service. false otherwise. Only regular write operations can trigger metadata table services and this argument
will assist in this.void update(HoodieCleanMetadata cleanMetadata, String instantTime)
cleanMetadata - clean metadata of the operation of interest.instantTime - instant time of the commit.void update(HoodieRestoreMetadata restoreMetadata, String instantTime)
restoreMetadata - restore metadata of the operation of interest.instantTime - instant time of the commit.void update(HoodieRollbackMetadata rollbackMetadata, String instantTime)
rollbackMetadata - rollback metadata of the operation of interest.instantTime - instant time of the commit.Copyright © 2022 The Apache Software Foundation. All rights reserved.