| Package | Description |
|---|---|
| org.apache.hudi.common.conflict.detection | |
| org.apache.hudi.common.table | |
| org.apache.hudi.common.table.timeline | |
| org.apache.hudi.common.util |
| Modifier and Type | Field and Description |
|---|---|
protected HoodieActiveTimeline |
DirectMarkerBasedDetectionStrategy.activeTimeline |
| Constructor and Description |
|---|
DirectMarkerBasedDetectionStrategy(HoodieStorage storage,
String partitionPath,
String fileId,
String instantTime,
HoodieActiveTimeline activeTimeline,
HoodieConfig config) |
| Modifier and Type | Field and Description |
|---|---|
protected HoodieActiveTimeline |
HoodieTableMetaClient.activeTimeline |
| Modifier and Type | Method and Description |
|---|---|
HoodieActiveTimeline |
HoodieTableMetaClient.getActiveTimeline()
Get the active instants as a timeline.
|
HoodieActiveTimeline |
HoodieTableMetaClient.reloadActiveTimeline()
Reload ActiveTimeline and cache.
|
| Modifier and Type | Method and Description |
|---|---|
HoodieActiveTimeline |
HoodieActiveTimeline.reload() |
| Modifier and Type | Method and Description |
|---|---|
static Option<HoodieInstant> |
TimelineUtils.getEarliestInstantForMetadataArchival(HoodieActiveTimeline dataTableActiveTimeline,
boolean shouldArchiveBeyondSavepoint)
Gets the qualified earliest instant from the active timeline of the data table
for the archival in metadata table.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
MarkerUtils.getCandidateInstants(HoodieActiveTimeline activeTimeline,
List<StoragePath> instants,
String currentInstantTime,
long maxAllowableHeartbeatIntervalInMs,
HoodieStorage storage,
String basePath)
Get Candidate Instant to do conflict checking:
1.
|
static Option<Pair<HoodieTimeline,HoodieInstant>> |
CompactionUtils.getCompletedDeltaCommitsSinceLatestCompaction(HoodieActiveTimeline activeTimeline)
Returns a pair of (timeline containing the completed delta commits after the latest completed
compaction commit, the completed compaction commit instant), if the latest completed
compaction commit is present; a pair of (timeline containing all the completed delta commits,
the first delta commit instant), if there is no completed compaction commit.
|
static Option<Pair<HoodieTimeline,HoodieInstant>> |
CompactionUtils.getDeltaCommitsSinceLatestCompaction(HoodieActiveTimeline activeTimeline)
Returns a pair of (timeline containing the delta commits after the latest completed
compaction commit, the completed compaction commit instant), if the latest completed
compaction commit is present; a pair of (timeline containing all the delta commits,
the first delta commit instant), if there is no completed compaction commit.
|
static Option<Pair<HoodieTimeline,HoodieInstant>> |
CompactionUtils.getDeltaCommitsSinceLatestCompactionRequest(HoodieActiveTimeline activeTimeline) |
static Option<HoodieInstant> |
ClusteringUtils.getEarliestInstantToRetainForClustering(HoodieActiveTimeline activeTimeline,
HoodieTableMetaClient metaClient)
Returns the earliest instant to retain.
|
static Option<HoodieInstant> |
CompactionUtils.getEarliestInstantToRetainForCompaction(HoodieActiveTimeline activeTimeline,
int maxDeltaCommits)
Gets the earliest instant to retain for MOR compaction.
|
static boolean |
MarkerUtils.hasCommitConflict(HoodieActiveTimeline activeTimeline,
Set<String> currentFileIDs,
Set<HoodieInstant> completedCommitInstants)
Whether there is write conflict with completed commit among multiple writers.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.