public class HoodieMetaserverBasedTimeline extends HoodieActiveTimeline
metaClient, NOT_PARSABLE_TIMESTAMPS, VALID_EXTENSIONS_IN_ACTIVE_TIMELINEdetailsCLEAN_ACTION, CLEAN_EXTENSION, COMMIT_ACTION, COMMIT_EXTENSION, COMPACTION_ACTION, COMPLETED_COMPACTION_SUFFIX, COMPLETED_EXTENSION, DELTA_COMMIT_ACTION, DELTA_COMMIT_EXTENSION, EQUALS, FULL_BOOTSTRAP_INSTANT_TS, GREATER_THAN, GREATER_THAN_OR_EQUALS, INDEX_COMMIT_EXTENSION, INDEXING_ACTION, INFLIGHT_CLEAN_EXTENSION, INFLIGHT_COMMIT_EXTENSION, INFLIGHT_COMPACTION_EXTENSION, INFLIGHT_DELTA_COMMIT_EXTENSION, INFLIGHT_EXTENSION, INFLIGHT_INDEX_COMMIT_EXTENSION, INFLIGHT_LOG_COMPACTION_EXTENSION, INFLIGHT_REPLACE_COMMIT_EXTENSION, INFLIGHT_RESTORE_EXTENSION, INFLIGHT_ROLLBACK_EXTENSION, INFLIGHT_SAVE_SCHEMA_ACTION_EXTENSION, INFLIGHT_SAVEPOINT_EXTENSION, INIT_INSTANT_TS, INVALID_INSTANT_TS, LESSER_THAN, LESSER_THAN_OR_EQUALS, LOG_COMPACTION_ACTION, METADATA_BOOTSTRAP_INSTANT_TS, REPLACE_COMMIT_ACTION, REPLACE_COMMIT_EXTENSION, REQUESTED_CLEAN_EXTENSION, REQUESTED_COMMIT_EXTENSION, REQUESTED_COMPACTION_EXTENSION, REQUESTED_COMPACTION_SUFFIX, REQUESTED_DELTA_COMMIT_EXTENSION, REQUESTED_EXTENSION, REQUESTED_INDEX_COMMIT_EXTENSION, REQUESTED_LOG_COMPACTION_EXTENSION, REQUESTED_LOG_COMPACTION_SUFFIX, REQUESTED_REPLACE_COMMIT_EXTENSION, REQUESTED_RESTORE_EXTENSION, REQUESTED_ROLLBACK_EXTENSION, REQUESTED_SAVE_SCHEMA_ACTION_EXTENSION, RESTORE_ACTION, RESTORE_EXTENSION, ROLLBACK_ACTION, ROLLBACK_EXTENSION, SAVE_SCHEMA_ACTION_EXTENSION, SAVEPOINT_ACTION, SAVEPOINT_EXTENSION, SCHEMA_COMMIT_ACTION, VALID_ACTIONS_IN_TIMELINE| Constructor and Description |
|---|
HoodieMetaserverBasedTimeline(HoodieTableMetaClient metaClient,
HoodieMetaserverConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
createFileInMetaPath(String filename,
Option<byte[]> content,
boolean allowOverwrite) |
protected void |
deleteInstantFile(HoodieInstant instant) |
protected Option<byte[]> |
readDataFromPath(org.apache.hadoop.fs.Path detailPath) |
HoodieMetaserverBasedTimeline |
reload() |
protected void |
revertCompleteToInflight(HoodieInstant completed,
HoodieInstant inflight) |
void |
transitionState(HoodieInstant fromInstant,
HoodieInstant toInstant,
Option<byte[]> data,
boolean allowRedundantTransitions) |
copyInstant, createNewInstant, createNewInstantTime, createNewInstantTime, createRequestedReplaceCommit, deleteCompactionRequested, deleteCompletedRollback, deleteEmptyInstantIfExists, deleteInflight, deleteInstantFile, deleteInstantFileIfExists, deletePending, formatDate, getInstantDetails, getLastCommitMetadataWithValidData, getLastCommitMetadataWithValidSchema, parseDateFromInstantTime, parseDateFromInstantTimeSafely, readCleanerInfoAsBytes, readCompactionPlanAsBytes, readIndexPlanAsBytes, readRestoreInfoAsBytes, readRollbackInfoAsBytes, revertIndexInflightToRequested, revertInstantFromInflightToRequested, revertLogCompactionInflightToRequested, revertToInflight, saveAsComplete, saveToCleanRequested, saveToCompactionRequested, saveToCompactionRequested, saveToLogCompactionRequested, saveToLogCompactionRequested, saveToPendingIndexAction, saveToPendingReplaceCommit, saveToRestoreRequested, saveToRollbackRequested, transitionCleanInflightToComplete, transitionCleanRequestedToInflight, transitionCompactionInflightToComplete, transitionCompactionRequestedToInflight, transitionIndexInflightToComplete, transitionIndexRequestedToInflight, transitionLogCompactionInflightToComplete, transitionLogCompactionRequestedToInflight, transitionReplaceInflightToComplete, transitionReplaceRequestedToInflight, transitionRequestedToInflight, transitionRequestedToInflight, transitionRequestedToInflight, transitionRestoreRequestedToInflight, transitionRollbackInflightToComplete, transitionRollbackRequestedToInflightcontainsInstant, containsInstant, containsOrBeforeTimelineStarts, countInstants, empty, filter, filterCompletedAndCompactionInstants, filterCompletedIndexTimeline, filterCompletedInstants, filterCompletedInstantsOrRewriteTimeline, filterCompletedOrMajorOrMinorCompactionInstants, filterInflights, filterInflightsAndRequested, filterInstantsByAction, filterPendingCompactionTimeline, filterPendingExcludingCompaction, filterPendingExcludingLogCompaction, filterPendingExcludingMajorAndMinorCompaction, filterPendingIndexTimeline, filterPendingLogCompactionTimeline, filterPendingMajorOrMinorCompactionTimeline, filterPendingReplaceTimeline, filterPendingRollbackTimeline, filterRequestedRollbackTimeline, findInstantBefore, findInstantsAfter, findInstantsAfter, findInstantsAfterOrEquals, findInstantsBefore, findInstantsBeforeOrEquals, findInstantsInClosedRange, findInstantsInRange, findInstantsInRangeByStateTransitionTime, findInstantsModifiedAfterByStateTransitionTime, firstInstant, firstInstant, getAllCommitsTimeline, getCleanerTimeline, getCommitsAndCompactionTimeline, getCommitsTimeline, getCommitTimeline, getCompletedReplaceTimeline, getContiguousCompletedWriteTimeline, getDeltaCommitTimeline, getFirstNonSavepointCommit, getInstants, getInstantsAsStream, getInstantsOrderedByStateTransitionTime, getLastClusterCommit, getRestoreTimeline, getReverseOrderedInstants, getRollbackAndRestoreTimeline, getRollbackTimeline, getSavePointTimeline, getTimelineHash, getTimelineOfActions, getWriteTimeline, isBeforeTimelineStarts, isEmpty, lastInstant, mergeTimeline, nthFromLastInstant, nthInstant, setInstants, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTimestamps, getCleanInflightInstant, getCleanRequestedInstant, getCommitFromCommitFile, getCompactionInflightInstant, getCompactionRequestedInstant, getCompletedInstant, getIndexInflightInstant, getIndexRequestedInstant, getInflightInstant, getLogCompactionInflightInstant, getLogCompactionRequestedInstant, getReplaceCommitInflightInstant, getReplaceCommitRequestedInstant, getRequestedInstant, getRestoreRequestedInstant, getRollbackRequestedInstant, isInClosedRange, isInRange, makeCleanerFileName, makeCommitFileName, makeDeltaFileName, makeFileNameAsComplete, makeFileNameAsInflight, makeIndexCommitFileName, makeInflightCleanerFileName, makeInflightCommitFileName, makeInflightCompactionFileName, makeInflightDeltaFileName, makeInflightIndexFileName, makeInflightLogCompactionFileName, makeInflightReplaceFileName, makeInflightRestoreFileName, makeInflightRollbackFileName, makeInflightSavePointFileName, makeInflightSchemaFileName, makeReplaceFileName, makeRequestedCleanerFileName, makeRequestedCommitFileName, makeRequestedCompactionFileName, makeRequestedDeltaFileName, makeRequestedIndexFileName, makeRequestedLogCompactionFileName, makeRequestedReplaceFileName, makeRequestedRestoreFileName, makeRequestedRollbackFileName, makeRequestSchemaFileName, makeRestoreFileName, makeRollbackFileName, makeSavePointFileName, makeSchemaFileNamepublic HoodieMetaserverBasedTimeline(HoodieTableMetaClient metaClient, HoodieMetaserverConfig config)
protected void deleteInstantFile(HoodieInstant instant)
deleteInstantFile in class HoodieActiveTimelinepublic void transitionState(HoodieInstant fromInstant, HoodieInstant toInstant, Option<byte[]> data, boolean allowRedundantTransitions)
transitionState in class HoodieActiveTimelinepublic void createFileInMetaPath(String filename, Option<byte[]> content, boolean allowOverwrite)
createFileInMetaPath in class HoodieActiveTimelineprotected void revertCompleteToInflight(HoodieInstant completed, HoodieInstant inflight)
revertCompleteToInflight in class HoodieActiveTimelineprotected Option<byte[]> readDataFromPath(org.apache.hadoop.fs.Path detailPath)
readDataFromPath in class HoodieActiveTimelinepublic HoodieMetaserverBasedTimeline reload()
reload in class HoodieActiveTimelineCopyright © 2024 The Apache Software Foundation. All rights reserved.