public class HoodieTableMetaserverClient extends HoodieTableMetaClient
HoodieTableMetaClient.Builder, HoodieTableMetaClient.PropertyBuilderactiveTimeline, AUXILIARYFOLDER_NAME, basePath, BOOTSTRAP_INDEX_BY_FILE_ID_FOLDER_PATH, BOOTSTRAP_INDEX_BY_PARTITION_FOLDER_PATH, BOOTSTRAP_INDEX_ROOT_FOLDER_PATH, hadoopConf, HASHING_METADATA_FOLDER_NAME, HEARTBEAT_FOLDER_NAME, MARKER_EXTN, METADATA_TABLE_FOLDER_PATH, METAFOLDER_NAME, metaPath, metaserverConfig, SAMPLE_WRITES_FOLDER_PATH, SCHEMA_FOLDER_NAME, tableConfig, TEMPFOLDER_NAME| Constructor and Description |
|---|
HoodieTableMetaserverClient(org.apache.hadoop.conf.Configuration conf,
String basePath,
ConsistencyGuardConfig consistencyGuardConfig,
String mergerStrategy,
FileSystemRetryConfig fileSystemRetryConfig,
Option<String> databaseName,
Option<String> tableName,
HoodieMetaserverConfig config) |
| Modifier and Type | Method and Description |
|---|---|
HoodieActiveTimeline |
getActiveTimeline()
Get the active instants as a timeline.
|
HoodieMetaserverClient |
getMetaserverClient() |
HoodieTableType |
getTableType() |
HoodieActiveTimeline |
reloadActiveTimeline()
Reload ActiveTimeline.
|
List<HoodieInstant> |
scanHoodieInstantsFromFileSystem(org.apache.hadoop.fs.Path timelinePath,
Set<String> includedExtensions,
boolean applyLayoutVersionFilters) |
List<HoodieInstant> |
scanHoodieInstantsFromFileSystem(Set<String> includedExtensions,
boolean applyLayoutVersionFilters) |
void |
setActiveTimeline(HoodieActiveTimeline activeTimeline) |
void |
setBasePath(String basePath) |
void |
setMetaPath(String metaPath) |
builder, equals, getArchivedTimeline, getArchivedTimeline, getArchivedTimeline, getArchivePath, getBasePath, getBasePathV2, getBootstrapIndexByFileIdFolderNameFolderPath, getBootstrapIndexByPartitionFolderPath, getCommitActionType, getCommitsAndCompactionTimeline, getCommitsTimeline, getCommitTimeline, getConsistencyGuardConfig, getFileSystemRetryConfig, getFs, getHadoopConf, getHashingMetadataPath, getHeartbeatFolderPath, getMarkerFolderPath, getMetaAuxiliaryPath, getMetaPath, getMetaserverConfig, getRawFs, getSchemaFolderName, getSerializableHadoopConf, getTableConfig, getTempFolderPath, getTimelineLayoutVersion, hashCode, initializeBootstrapDirsIfNotExists, initializeBootstrapDirsIfNotExists, initTableAndGetMetaClient, isTimelineNonEmpty, reload, scanFiles, setFs, toString, validateTableProperties, withPropertyBuilderpublic HoodieTableMetaserverClient(org.apache.hadoop.conf.Configuration conf,
String basePath,
ConsistencyGuardConfig consistencyGuardConfig,
String mergerStrategy,
FileSystemRetryConfig fileSystemRetryConfig,
Option<String> databaseName,
Option<String> tableName,
HoodieMetaserverConfig config)
public HoodieTableType getTableType()
getTableType in class HoodieTableMetaClientpublic HoodieActiveTimeline getActiveTimeline()
getActiveTimeline in class HoodieTableMetaClientpublic HoodieActiveTimeline reloadActiveTimeline()
reloadActiveTimeline in class HoodieTableMetaClientpublic List<HoodieInstant> scanHoodieInstantsFromFileSystem(Set<String> includedExtensions, boolean applyLayoutVersionFilters)
scanHoodieInstantsFromFileSystem in class HoodieTableMetaClientpublic List<HoodieInstant> scanHoodieInstantsFromFileSystem(org.apache.hadoop.fs.Path timelinePath, Set<String> includedExtensions, boolean applyLayoutVersionFilters)
scanHoodieInstantsFromFileSystem in class HoodieTableMetaClientpublic void setBasePath(String basePath)
public void setMetaPath(String metaPath)
public void setActiveTimeline(HoodieActiveTimeline activeTimeline)
public HoodieMetaserverClient getMetaserverClient()
Copyright © 2024 The Apache Software Foundation. All rights reserved.