@PublicAPIClass(maturity=EVOLVING) public abstract class DirectMarkerBasedDetectionStrategy extends Object implements EarlyConflictDetectionStrategy
| Modifier and Type | Field and Description |
|---|---|
protected HoodieActiveTimeline |
activeTimeline |
protected HoodieConfig |
config |
protected String |
fileId |
protected String |
instantTime |
protected String |
partitionPath |
protected HoodieStorage |
storage |
| Constructor and Description |
|---|
DirectMarkerBasedDetectionStrategy(HoodieStorage storage,
String partitionPath,
String fileId,
String instantTime,
HoodieActiveTimeline activeTimeline,
HoodieConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkMarkerConflict(String basePath,
long maxAllowableHeartbeatIntervalInMs)
We need to do list operation here.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetectAndResolveConflictIfNecessary, hasMarkerConflict, resolveMarkerConflictprotected final HoodieStorage storage
protected final String partitionPath
protected final String fileId
protected final String instantTime
protected final HoodieActiveTimeline activeTimeline
protected final HoodieConfig config
public DirectMarkerBasedDetectionStrategy(HoodieStorage storage, String partitionPath, String fileId, String instantTime, HoodieActiveTimeline activeTimeline, HoodieConfig config)
public boolean checkMarkerConflict(String basePath, long maxAllowableHeartbeatIntervalInMs) throws IOException
basePath - Base path of the table.maxAllowableHeartbeatIntervalInMs - Heartbeat timeout.IOException - upon errors.Copyright © 2024 The Apache Software Foundation. All rights reserved.