public class SpillableMapBasedFileSystemView extends HoodieTableFileSystemView
TableFileSystemView.BaseFileOnlyView, TableFileSystemView.BaseFileOnlyViewWithLatestSlice, TableFileSystemView.SliceView, TableFileSystemView.SliceViewWithLatestSlicefgIdToBootstrapBaseFile, fgIdToPendingClustering, fgIdToPendingCompaction, fgIdToReplaceInstants, partitionToFileGroupsMapmetaClient| Constructor and Description |
|---|
SpillableMapBasedFileSystemView(HoodieTableMetaClient metaClient,
HoodieTimeline visibleActiveTimeline,
org.apache.hadoop.fs.FileStatus[] fileStatuses,
FileSystemViewStorageConfig config,
HoodieCommonConfig commonConfig) |
SpillableMapBasedFileSystemView(HoodieTableMetaClient metaClient,
HoodieTimeline visibleActiveTimeline,
FileSystemViewStorageConfig config,
HoodieCommonConfig commonConfig) |
addPendingCompactionOperations, addReplacedFileGroups, close, fetchFileGroupsInPendingClustering, fetchLatestFileSlicesIncludingInflight, getBootstrapBaseFile, getPendingClusteringInstant, getPendingCompactionOperationWithInstant, getReplaceInstant, init, init, isBootstrapBaseFilePresentForFileId, isClosed, isPartitionAvailableInStore, isPendingClusteringScheduledForFileId, isPendingCompactionScheduledForFileId, removePendingCompactionOperations, resetPendingCompactionOperations, resetReplacedFileGroups, resetViewState, storePartitionViewapplyDeltaFileSlicesToPartitionView, getTimeline, refreshTimeline, runSyncaddBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addBootstrapBaseFileIfPresent, addFilesToView, buildFileGroups, buildFileGroups, fetchLatestBaseFile, fetchLatestBaseFiles, fetchLatestFileSlice, filterBaseFileAfterPendingCompaction, getAllBaseFiles, getAllFileGroups, getAllFileSlices, getAllReplacedFileGroups, getBaseFileOn, getFileGroupsInPendingClustering, getLastInstant, getLatestBaseFile, getLatestBaseFile, getLatestBaseFiles, getLatestBaseFiles, getLatestBaseFilesBeforeOrOn, getLatestBaseFilesInRange, getLatestFileSlice, getLatestFileSliceInRange, getLatestFileSlices, getLatestFileSlicesBeforeOrOn, getLatestMergedFileSlicesBeforeOrOn, getLatestUnCompactedFileSlices, getPartitionPaths, getPendingCompactionOperations, getReplacedFileGroupsBefore, getReplacedFileGroupsBeforeOrOn, getVisibleCommitsAndCompactionTimeline, isBaseFileDueToPendingClustering, isBaseFileDueToPendingCompaction, isFileSliceAfterPendingCompaction, listPartition, reset, syncpublic SpillableMapBasedFileSystemView(HoodieTableMetaClient metaClient, HoodieTimeline visibleActiveTimeline, FileSystemViewStorageConfig config, HoodieCommonConfig commonConfig)
public SpillableMapBasedFileSystemView(HoodieTableMetaClient metaClient, HoodieTimeline visibleActiveTimeline, org.apache.hadoop.fs.FileStatus[] fileStatuses, FileSystemViewStorageConfig config, HoodieCommonConfig commonConfig)
protected Map<String,List<HoodieFileGroup>> createPartitionToFileGroups()
createPartitionToFileGroups in class HoodieTableFileSystemViewprotected Map<HoodieFileGroupId,Pair<String,CompactionOperation>> createFileIdToPendingCompactionMap(Map<HoodieFileGroupId,Pair<String,CompactionOperation>> fgIdToPendingCompaction)
createFileIdToPendingCompactionMap in class HoodieTableFileSystemViewprotected Map<HoodieFileGroupId,BootstrapBaseFileMapping> createFileIdToBootstrapBaseFileMap(Map<HoodieFileGroupId,BootstrapBaseFileMapping> fileGroupIdBootstrapBaseFileMap)
createFileIdToBootstrapBaseFileMap in class HoodieTableFileSystemViewprotected Map<HoodieFileGroupId,HoodieInstant> createFileIdToReplaceInstantMap(Map<HoodieFileGroupId,HoodieInstant> replacedFileGroups)
createFileIdToReplaceInstantMap in class HoodieTableFileSystemViewprotected Map<HoodieFileGroupId,HoodieInstant> createFileIdToPendingClusteringMap(Map<HoodieFileGroupId,HoodieInstant> fileGroupsInClustering)
createFileIdToPendingClusteringMap in class HoodieTableFileSystemViewpublic Stream<HoodieFileGroup> getAllFileGroups()
getAllFileGroups in class HoodieTableFileSystemViewpublic Stream<HoodieFileGroup> fetchAllStoredFileGroups()
AbstractTableFileSystemViewfetchAllStoredFileGroups in class HoodieTableFileSystemViewprotected void removeReplacedFileIdsAtInstants(Set<String> instants)
AbstractTableFileSystemViewremoveReplacedFileIdsAtInstants in class HoodieTableFileSystemViewCopyright © 2022 The Apache Software Foundation. All rights reserved.