public class HoodieRecordGlobalLocation extends HoodieRecordLocation
HoodieRecordLocation but with partition path.fileId, instantTime| Constructor and Description |
|---|
HoodieRecordGlobalLocation() |
HoodieRecordGlobalLocation(String partitionPath,
String instantTime,
String fileId) |
| Modifier and Type | Method and Description |
|---|---|
HoodieRecordGlobalLocation |
copy(String partitionPath)
Copy the location with given partition path.
|
boolean |
equals(Object o) |
static HoodieRecordGlobalLocation |
fromLocal(String partitionPath,
HoodieRecordLocation localLoc)
Returns the global record location from local.
|
String |
getPartitionPath() |
int |
hashCode() |
void |
setPartitionPath(String partitionPath) |
HoodieRecordLocation |
toLocal(String instantTime)
Returns the record location as local.
|
String |
toString() |
getFileId, getInstantTime, setFileId, setInstantTimepublic String toString()
toString in class HoodieRecordLocationpublic boolean equals(Object o)
equals in class HoodieRecordLocationpublic int hashCode()
hashCode in class HoodieRecordLocationpublic String getPartitionPath()
public void setPartitionPath(String partitionPath)
public static HoodieRecordGlobalLocation fromLocal(String partitionPath, HoodieRecordLocation localLoc)
public HoodieRecordLocation toLocal(String instantTime)
public HoodieRecordGlobalLocation copy(String partitionPath)
Copyright © 2022 The Apache Software Foundation. All rights reserved.