public class HoodieRecordDelegate extends Object implements Serializable, com.esotericsoftware.kryo.KryoSerializable
HoodieRecord.
This is used when write handles report back write operation's info and stats,
instead of passing back the full HoodieRecord, this lean delegate
of it will be passed instead.
public static HoodieRecordDelegate create(String recordKey, String partitionPath)
public static HoodieRecordDelegate create(String recordKey, String partitionPath, HoodieRecordLocation currentLocation)
public static HoodieRecordDelegate create(String recordKey, String partitionPath, HoodieRecordLocation currentLocation, HoodieRecordLocation newLocation)
public static HoodieRecordDelegate create(HoodieKey key)
public static HoodieRecordDelegate create(HoodieKey key, HoodieRecordLocation currentLocation)
public static HoodieRecordDelegate create(HoodieKey key, HoodieRecordLocation currentLocation, HoodieRecordLocation newLocation)
public static HoodieRecordDelegate fromHoodieRecord(HoodieRecord record)
public static HoodieRecordDelegate fromHoodieRecord(HoodieRecord record, @Nullable HoodieRecordLocation newLocationOverride)
public String getRecordKey()
public String getPartitionPath()
public HoodieKey getHoodieKey()
public Option<HoodieRecordLocation> getCurrentLocation()
public Option<HoodieRecordLocation> getNewLocation()
public boolean getIgnoreIndexUpdate()
public final void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output)
write in interface com.esotericsoftware.kryo.KryoSerializablepublic final void read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input)
read in interface com.esotericsoftware.kryo.KryoSerializableCopyright © 2024 The Apache Software Foundation. All rights reserved.