public class HoodieKey extends Object implements Serializable
- recordKey : a recordKey that acts as primary key for a record.
- partitionPath : the partition path of a record.
NOTE: PLEASE READ CAREFULLY BEFORE CHANGING
This class is serialized (using Kryo) as part of HoodieDeleteBlock to make
sure this stays backwards-compatible we can't MAKE ANY CHANGES TO THIS CLASS (add,
delete, reorder or change types of the fields in this class, make class final, etc)
as this would break its compatibility with already persisted blocks.
Check out HUDI-5760 for more details
| Constructor and Description |
|---|
HoodieKey() |
HoodieKey(String recordKey,
String partitionPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPartitionPath() |
String |
getRecordKey() |
int |
hashCode() |
void |
setPartitionPath(String partitionPath) |
void |
setRecordKey(String recordKey) |
String |
toString() |
Copyright © 2024 The Apache Software Foundation. All rights reserved.