public class TimelineArchiverV1<T extends HoodieAvroPayload,I,K,O> extends Object implements HoodieTimelineArchiver<T,I,K,O>
| Constructor and Description |
|---|
TimelineArchiverV1(HoodieWriteConfig config,
HoodieTable<T,I,K,O> table) |
| Modifier and Type | Method and Description |
|---|---|
void |
archive(HoodieEngineContext context,
List<HoodieInstant> instants) |
int |
archiveIfRequired(HoodieEngineContext context,
boolean acquireLock)
Check if commits need to be archived.
|
void |
flushArchiveEntries(List<org.apache.avro.generic.IndexedRecord> archiveRecords,
StoragePath archivePath)
Keeping for downgrade from 1.x LSM archived timeline.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarchiveIfRequiredpublic TimelineArchiverV1(HoodieWriteConfig config, HoodieTable<T,I,K,O> table)
public int archiveIfRequired(HoodieEngineContext context, boolean acquireLock) throws IOException
HoodieTimelineArchiverarchiveIfRequired in interface HoodieTimelineArchiver<T extends HoodieAvroPayload,I,K,O>IOExceptionpublic void flushArchiveEntries(List<org.apache.avro.generic.IndexedRecord> archiveRecords, StoragePath archivePath) throws HoodieCommitException
HoodieCommitExceptionpublic void archive(HoodieEngineContext context, List<HoodieInstant> instants) throws HoodieCommitException
HoodieCommitExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.