public class HoodieBackedTableMetadata extends BaseTableMetadata
BUFFER_SIZE, dataBasePath, dataMetaClient, engineContext, hadoopConf, isBloomFilterIndexEnabled, isColumnStatsIndexEnabled, isMetadataTableEnabled, MAX_MEMORY_SIZE_IN_BYTES, metadataConfig, metrics, spillableMapDirectoryEMPTY_PARTITION_NAME, METADATA_TABLE_NAME_SUFFIX, 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) |
fetchAllPartitionPaths, getAllFilesInPartition, getAllFilesInPartitions, getAllPartitionPaths, getBloomFilter, getBloomFilters, getColumnStats, getEngineContext, getLatestDataInstantTime, getMetadataConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, createFSBackedTableMetadata, createHoodieBackedTableMetadata, getDatasetBasePath, getDataTableBasePathFromMetadataTable, 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>> getRecordByKey(String key, String partitionName)
getRecordByKey in class BaseTableMetadatapublic HoodieData<HoodieRecord<HoodieMetadataPayload>> getRecordsByKeyPrefixes(List<String> keyPrefixes, String partitionName, boolean shouldLoadInMemory)
HoodieTableMetadatakeyPrefixes - list of key prefixes for which interested records are looked up for.partitionName - partition name in metadata table where the records are looked up for.HoodieData of HoodieRecords with records matching the passed in key prefixes.public List<Pair<String,Option<HoodieRecord<HoodieMetadataPayload>>>> getRecordsByKeys(List<String> keys, String partitionName)
getRecordsByKeys in class BaseTableMetadatapublic Pair<HoodieMetadataMergedLogRecordReader,Long> getLogRecordScanner(List<HoodieLogFile> logFiles, String partitionName, Option<Boolean> allowFullScanOverride)
public void close()
public boolean enabled()
public SerializableConfiguration getHadoopConf()
public HoodieTableMetaClient getMetadataMetaClient()
public Option<String> getSyncedInstantTime()
HoodieTableMetadatapublic Option<String> getLatestCompactionTime()
HoodieTableMetadatapublic void reset()
HoodieTableMetadataCopyright © 2022 The Apache Software Foundation. All rights reserved.