public abstract class IncrementalTimelineSyncFileSystemView extends AbstractTableFileSystemView
TableFileSystemView.BaseFileOnlyView, TableFileSystemView.BaseFileOnlyViewWithLatestSlice, TableFileSystemView.SliceView, TableFileSystemView.SliceViewWithLatestSlicemetaClient, readLock, writeLock| Modifier | Constructor and Description |
|---|---|
protected |
IncrementalTimelineSyncFileSystemView(boolean enableIncrementalTimelineSync) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyDeltaFileSlicesToPartitionView(String partition,
List<HoodieFileGroup> deltaFileGroups,
org.apache.hudi.common.table.view.IncrementalTimelineSyncFileSystemView.DeltaApplyMode mode)
Apply changes to partition file-system view.
|
HoodieTimeline |
getTimeline()
Timeline corresponding to the view.
|
protected void |
maySyncIncrementally() |
protected void |
refreshTimeline(HoodieTimeline visibleActiveTimeline)
Refresh commits timeline.
|
void |
sync()
Syncs the file system view from storage to memory.
|
addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addFilesToView, addFilesToView, addReplacedFileGroups, buildFileGroups, buildFileGroups, clear, close, fetchFileGroupsInPendingClustering, fetchLatestBaseFile, fetchLatestBaseFiles, fetchLatestFileSlice, filterBaseFileAfterPendingCompaction, getAllBaseFiles, getAllFileGroups, getAllFileGroupsStateless, getAllFileSlices, getAllLatestBaseFilesBeforeOrOn, getAllLatestFileSlicesBeforeOrOn, getAllLogsMergedFileSliceBeforeOrOn, getAllPartitionPaths, getAllReplacedFileGroups, getBaseFileOn, getBootstrapBaseFile, getFileGroupsInPendingClustering, getLastInstant, getLatestBaseFile, getLatestBaseFile, getLatestBaseFiles, getLatestBaseFiles, getLatestBaseFilesBeforeOrOn, getLatestBaseFilesInRange, getLatestFileSlice, getLatestFileSliceInRange, getLatestFileSlices, getLatestFileSlicesBeforeOrOn, getLatestFileSlicesStateless, getLatestMergedFileSlicesBeforeOrOn, getLatestUnCompactedFileSlices, getPartitionPaths, getPendingClusteringInstant, getPendingCompactionOperations, getPendingCompactionOperationWithInstant, getPendingLogCompactionOperations, getPendingLogCompactionOperationWithInstant, getReplacedFileGroupsAfterOrOn, getReplacedFileGroupsBefore, getReplacedFileGroupsBeforeOrOn, getReplaceInstant, getVisibleCommitsAndCompactionTimeline, hasReplacedFilesInPartition, init, isBaseFileDueToPendingClustering, isBaseFileDueToPendingCompaction, isBootstrapBaseFilePresentForFileId, isFileSliceAfterPendingCompaction, isPendingClusteringScheduledForFileId, isPendingCompactionScheduledForFileId, isPendingLogCompactionScheduledForFileId, listPartition, listPartitions, loadAllPartitions, loadPartitions, removeReplacedFileIdsAtInstants, reset, resetReplacedFileGroups, resetViewStateprotected IncrementalTimelineSyncFileSystemView(boolean enableIncrementalTimelineSync)
protected void refreshTimeline(HoodieTimeline visibleActiveTimeline)
AbstractTableFileSystemViewrefreshTimeline in class AbstractTableFileSystemViewvisibleActiveTimeline - Visible Active Timelinepublic void sync()
AbstractTableFileSystemViewNOTE: The logic MUST BE guarded by the write lock.
sync in interface SyncableFileSystemViewsync in class AbstractTableFileSystemViewprotected void maySyncIncrementally()
protected void applyDeltaFileSlicesToPartitionView(String partition, List<HoodieFileGroup> deltaFileGroups, org.apache.hudi.common.table.view.IncrementalTimelineSyncFileSystemView.DeltaApplyMode mode)
partition - PartitionPathdeltaFileGroups - Changed file-slices aggregated as file-groupsmode - Delta Apply modepublic HoodieTimeline getTimeline()
TableFileSystemViewgetTimeline in interface TableFileSystemViewgetTimeline in class AbstractTableFileSystemViewCopyright © 2024 The Apache Software Foundation. All rights reserved.