| Package | Description |
|---|---|
| org.apache.hudi.common.model | |
| org.apache.hudi.metadata |
| Modifier and Type | Method and Description |
|---|---|
HoodieRecordGlobalLocation |
HoodieRecordGlobalLocation.copy(String partitionPath)
Copy the location with given partition path.
|
static HoodieRecordGlobalLocation |
HoodieRecordGlobalLocation.fromLocal(String partitionPath,
HoodieRecordLocation localLoc)
Returns the global record location from local.
|
| Modifier and Type | Method and Description |
|---|---|
static HoodieRecordGlobalLocation |
HoodieTableMetadataUtil.getLocationFromRecordIndexInfo(HoodieRecordIndexInfo recordIndexInfo)
Gets the location from record index content.
|
static HoodieRecordGlobalLocation |
HoodieTableMetadataUtil.getLocationFromRecordIndexInfo(String partition,
int fileIdEncoding,
long fileIdHighBits,
long fileIdLowBits,
int fileIndex,
String originalFileId,
Long instantTime)
Gets the location from record index content.
|
HoodieRecordGlobalLocation |
HoodieMetadataPayload.getRecordGlobalLocation()
If this is a record-level index entry, returns the file to which this is mapped.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<HoodieRecordGlobalLocation>> |
FileSystemBackedTableMetadata.readRecordIndex(List<String> recordKeys) |
Map<String,List<HoodieRecordGlobalLocation>> |
BaseTableMetadata.readRecordIndex(List<String> recordKeys)
Reads record keys from record-level index.
|
Map<String,List<HoodieRecordGlobalLocation>> |
HoodieTableMetadata.readRecordIndex(List<String> recordKeys)
Returns the location of record keys which are found in the record index.
|
Map<String,List<HoodieRecordGlobalLocation>> |
FileSystemBackedTableMetadata.readSecondaryIndex(List<String> secondaryKeys,
String partitionName) |
Map<String,List<HoodieRecordGlobalLocation>> |
BaseTableMetadata.readSecondaryIndex(List<String> secondaryKeys,
String partitionName)
Get record-location using secondary-index and record-index
|
Map<String,List<HoodieRecordGlobalLocation>> |
HoodieTableMetadata.readSecondaryIndex(List<String> secondaryKeys,
String partitionName)
Returns the location of records which the provided secondary keys maps to.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.