| Package | Description |
|---|---|
| org.apache.hudi.metadata |
| Modifier and Type | Method and Description |
|---|---|
static MetadataPartitionType |
MetadataPartitionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataPartitionType[] |
MetadataPartitionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<MetadataPartitionType,HoodieData<HoodieRecord>> |
HoodieTableMetadataUtil.convertMetadataToRecords(HoodieEngineContext engineContext,
HoodieActiveTimeline metadataTableTimeline,
HoodieRestoreMetadata restoreMetadata,
MetadataRecordsGenerationParams recordsGenerationParams,
String instantTime,
Option<String> lastSyncTs)
Convert restore action metadata to metadata table records.
|
static Map<MetadataPartitionType,HoodieData<HoodieRecord>> |
HoodieTableMetadataUtil.convertMetadataToRecords(HoodieEngineContext engineContext,
HoodieActiveTimeline metadataTableTimeline,
HoodieRollbackMetadata rollbackMetadata,
MetadataRecordsGenerationParams recordsGenerationParams,
String instantTime,
Option<String> lastSyncTs,
boolean wasSynced)
Convert rollback action metadata to metadata table records.
|
static Map<MetadataPartitionType,HoodieData<HoodieRecord>> |
HoodieTableMetadataUtil.convertMetadataToRecords(HoodieEngineContext engineContext,
HoodieCleanMetadata cleanMetadata,
MetadataRecordsGenerationParams recordsGenerationParams,
String instantTime)
Convert the clean action to metadata records.
|
static Map<MetadataPartitionType,HoodieData<HoodieRecord>> |
HoodieTableMetadataUtil.convertMetadataToRecords(HoodieEngineContext context,
HoodieCommitMetadata commitMetadata,
String instantTime,
MetadataRecordsGenerationParams recordsGenerationParams)
Convert commit action to metadata records for the enabled partition types.
|
List<MetadataPartitionType> |
MetadataRecordsGenerationParams.getEnabledPartitionTypes()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
HoodieTableMetadataUtil.deleteMetadataPartition(String basePath,
HoodieEngineContext context,
MetadataPartitionType partitionType)
Deletes the metadata partition from the file system.
|
static int |
HoodieTableMetadataUtil.getPartitionFileGroupCount(MetadataPartitionType partitionType,
Option<HoodieTableMetaClient> metaClient,
Option<HoodieTableFileSystemView> fsView,
HoodieMetadataConfig metadataConfig,
boolean isBootstrapCompleted)
Get file group count for a metadata table partition.
|
static boolean |
HoodieTableMetadataUtil.metadataPartitionExists(String basePath,
HoodieEngineContext context,
MetadataPartitionType partitionType)
Check if the given metadata partition exists.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.