public interface TableFileSystemView
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TableFileSystemView.BaseFileOnlyView
Methods to provide a view of base files only.
|
static interface |
TableFileSystemView.BaseFileOnlyViewWithLatestSlice
Methods to only access latest version of file for the instant(s) passed.
|
static interface |
TableFileSystemView.SliceView
Methods to access a combination of base files + log file slices.
|
static interface |
TableFileSystemView.SliceViewWithLatestSlice
Methods to only access latest version of file-slice for the instant(s) passed.
|
| Modifier and Type | Method and Description |
|---|---|
Stream<HoodieFileGroup> |
getAllFileGroups(String partitionPath)
Stream all the file groups for a given partition.
|
Stream<HoodieFileGroup> |
getAllReplacedFileGroups(String partitionPath)
Stream all the replaced file groups for given partition.
|
Stream<Pair<HoodieFileGroupId,HoodieInstant>> |
getFileGroupsInPendingClustering()
Filegroups that are in pending clustering.
|
Option<HoodieInstant> |
getLastInstant()
Last Known Instant on which the view is built.
|
Stream<Pair<String,CompactionOperation>> |
getPendingCompactionOperations()
Return Pending Compaction Operations.
|
Stream<HoodieFileGroup> |
getReplacedFileGroupsBefore(String maxCommitTime,
String partitionPath)
Stream all the replaced file groups before maxCommitTime for given partition.
|
Stream<HoodieFileGroup> |
getReplacedFileGroupsBeforeOrOn(String maxCommitTime,
String partitionPath)
Stream all the replaced file groups before or on maxCommitTime for given partition.
|
HoodieTimeline |
getTimeline()
Timeline corresponding to the view.
|
Stream<HoodieFileGroup> getAllFileGroups(String partitionPath)
Stream<Pair<String,CompactionOperation>> getPendingCompactionOperations()
Option<HoodieInstant> getLastInstant()
HoodieTimeline getTimeline()
Stream<HoodieFileGroup> getReplacedFileGroupsBeforeOrOn(String maxCommitTime, String partitionPath)
Stream<HoodieFileGroup> getReplacedFileGroupsBefore(String maxCommitTime, String partitionPath)
Stream<HoodieFileGroup> getAllReplacedFileGroups(String partitionPath)
Stream<Pair<HoodieFileGroupId,HoodieInstant>> getFileGroupsInPendingClustering()
Copyright © 2022 The Apache Software Foundation. All rights reserved.