| Package | Description |
|---|---|
| org.apache.hudi.common.model |
| Modifier and Type | Class and Description |
|---|---|
class |
HoodieRecordGlobalLocation
Similar with
HoodieRecordLocation but with partition path. |
| Modifier and Type | Field and Description |
|---|---|
protected HoodieRecordLocation |
HoodieRecord.currentLocation
Current location of record on storage.
|
protected HoodieRecordLocation |
HoodieRecord.newLocation
New location of record on storage, after written.
|
| Modifier and Type | Method and Description |
|---|---|
HoodieRecordLocation |
HoodieRecord.getCurrentLocation() |
HoodieRecordLocation |
HoodieRecord.getNewLocation() |
HoodieRecordLocation |
HoodieRecordGlobalLocation.toLocal(String instantTime)
Returns the record location as local.
|
| Modifier and Type | Method and Description |
|---|---|
Option<HoodieRecordLocation> |
HoodieRecordDelegate.getCurrentLocation() |
Option<HoodieRecordLocation> |
HoodieRecordDelegate.getNewLocation() |
| Modifier and Type | Method and Description |
|---|---|
static HoodieRecordDelegate |
HoodieRecordDelegate.create(HoodieKey key,
HoodieRecordLocation currentLocation) |
static HoodieRecordDelegate |
HoodieRecordDelegate.create(HoodieKey key,
HoodieRecordLocation currentLocation,
HoodieRecordLocation newLocation) |
static HoodieRecordDelegate |
HoodieRecordDelegate.create(String recordKey,
String partitionPath,
HoodieRecordLocation currentLocation) |
static HoodieRecordDelegate |
HoodieRecordDelegate.create(String recordKey,
String partitionPath,
HoodieRecordLocation currentLocation,
HoodieRecordLocation newLocation) |
static HoodieRecordDelegate |
HoodieRecordDelegate.fromHoodieRecord(HoodieRecord record,
HoodieRecordLocation newLocationOverride) |
static HoodieRecordGlobalLocation |
HoodieRecordGlobalLocation.fromLocal(String partitionPath,
HoodieRecordLocation localLoc)
Returns the global record location from local.
|
HoodieRecord |
HoodieRecord.setCurrentLocation(HoodieRecordLocation location)
Sets the current currentLocation of the record.
|
void |
HoodieRecord.setNewLocation(HoodieRecordLocation location)
Sets the new currentLocation of the record, after being written.
|
| Constructor and Description |
|---|
HoodieAvroRecord(HoodieKey key,
T data,
HoodieOperation operation,
HoodieRecordLocation currentLocation,
HoodieRecordLocation newLocation) |
HoodieRecord(HoodieKey key,
T data,
HoodieOperation operation,
HoodieRecordLocation currentLocation,
HoodieRecordLocation newLocation) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.