public abstract class IncrementalTimelineSyncFileSystemView extends AbstractTableFileSystemView
TableFileSystemView.BaseFileOnlyView, TableFileSystemView.BaseFileOnlyViewWithLatestSlice, TableFileSystemView.SliceView, TableFileSystemView.SliceViewWithLatestSlicemetaClient| 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 |
refreshTimeline(HoodieTimeline visibleActiveTimeline)
Refresh commits timeline.
|
protected void |
runSync(HoodieTimeline oldTimeline,
HoodieTimeline newTimeline)
Performs complete reset of file-system view.
|
addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addFilesToView, addReplacedFileGroups, buildFileGroups, buildFileGroups, close, fetchFileGroupsInPendingClustering, fetchLatestBaseFile, fetchLatestBaseFiles, fetchLatestFileSlice, filterBaseFileAfterPendingCompaction, getAllBaseFiles, getAllFileGroups, getAllFileSlices, getAllReplacedFileGroups, getBaseFileOn, getBootstrapBaseFile, getFileGroupsInPendingClustering, getLastInstant, getLatestBaseFile, getLatestBaseFile, getLatestBaseFiles, getLatestBaseFiles, getLatestBaseFilesBeforeOrOn, getLatestBaseFilesInRange, getLatestFileSlice, getLatestFileSliceInRange, getLatestFileSlices, getLatestFileSlicesBeforeOrOn, getLatestMergedFileSlicesBeforeOrOn, getLatestUnCompactedFileSlices, getPartitionPaths, getPendingClusteringInstant, getPendingCompactionOperations, getPendingCompactionOperationWithInstant, getReplacedFileGroupsBefore, getReplacedFileGroupsBeforeOrOn, getReplaceInstant, getVisibleCommitsAndCompactionTimeline, init, isBaseFileDueToPendingClustering, isBaseFileDueToPendingCompaction, isBootstrapBaseFilePresentForFileId, isFileSliceAfterPendingCompaction, isPendingClusteringScheduledForFileId, isPendingCompactionScheduledForFileId, listPartition, removeReplacedFileIdsAtInstants, reset, resetReplacedFileGroups, resetViewState, syncprotected IncrementalTimelineSyncFileSystemView(boolean enableIncrementalTimelineSync)
protected void refreshTimeline(HoodieTimeline visibleActiveTimeline)
AbstractTableFileSystemViewrefreshTimeline in class AbstractTableFileSystemViewvisibleActiveTimeline - Visible Active Timelineprotected void runSync(HoodieTimeline oldTimeline, HoodieTimeline newTimeline)
AbstractTableFileSystemViewrunSync in class AbstractTableFileSystemViewoldTimeline - Old Hoodie TimelinenewTimeline - New Hoodie Timelineprotected 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 © 2022 The Apache Software Foundation. All rights reserved.