public class HoodieBackedTableMetadata extends BaseTableMetadata
datasetBasePath, datasetMetaClient, enabled, engineContext, hadoopConf, metadataConfig, metrics, spillableMapDirectoryMETADATA_TABLE_NAME_SUFFIX, METADATA_TABLE_REL_PATH, NON_PARTITIONED_NAME, RECORDKEY_PARTITION_LIST, SOLO_COMMIT_TIMESTAMP| Constructor and Description |
|---|
HoodieBackedTableMetadata(HoodieEngineContext engineContext,
HoodieMetadataConfig metadataConfig,
String datasetBasePath,
String spillableMapDirectory) |
HoodieBackedTableMetadata(HoodieEngineContext engineContext,
HoodieMetadataConfig metadataConfig,
String datasetBasePath,
String spillableMapDirectory,
boolean reuse) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
enabled() |
protected List<HoodieInstant> |
findInstantsToSync()
Return an ordered list of instants which have not been synced to the Metadata Table.
|
SerializableConfiguration |
getHadoopConf() |
HoodieTableMetaClient |
getMetaClient() |
protected Option<HoodieRecord<HoodieMetadataPayload>> |
getRecordByKeyFromMetadata(String key) |
Option<String> |
getSyncedInstantTime()
Return the timestamp of the latest compaction instant.
|
Map<String,String> |
stats() |
fetchAllPartitionPaths, getAllFilesInPartition, getAllPartitionPaths, getEngineContext, getLatestDatasetInstantTime, isInSyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, getMetadataTableBasePath, isMetadataTablepublic HoodieBackedTableMetadata(HoodieEngineContext engineContext, HoodieMetadataConfig metadataConfig, String datasetBasePath, String spillableMapDirectory)
public HoodieBackedTableMetadata(HoodieEngineContext engineContext, HoodieMetadataConfig metadataConfig, String datasetBasePath, String spillableMapDirectory, boolean reuse)
protected Option<HoodieRecord<HoodieMetadataPayload>> getRecordByKeyFromMetadata(String key)
getRecordByKeyFromMetadata in class BaseTableMetadataprotected List<HoodieInstant> findInstantsToSync()
findInstantsToSync in class BaseTableMetadatapublic Option<String> getSyncedInstantTime()
public boolean enabled()
public SerializableConfiguration getHadoopConf()
public HoodieTableMetaClient getMetaClient()
Copyright © 2021 The Apache Software Foundation. All rights reserved.