public class AWSGlueCatalogSyncClient extends org.apache.hudi.sync.common.HoodieSyncClient
config, metaClient, partitionValueExtractorHOODIE_LAST_COMMIT_COMPLETION_TIME_SYNC, HOODIE_LAST_COMMIT_TIME_SYNC| Constructor and Description |
|---|
AWSGlueCatalogSyncClient(HiveSyncConfig config) |
getActiveTimeline, getAllPartitionPathsOnStorage, getBasePath, getDroppedPartitionsSince, getMetaClient, getPartitionEvents, getPartitionEvents, getStorageSchema, getStorageSchema, getTableType, getWrittenPartitionsSince, isBootstrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdropTable, getLastCommitCompletionTimeSynced, getMetastoreFieldSchemas, getPartitionsByFilter, updateSerdePropertiespublic AWSGlueCatalogSyncClient(HiveSyncConfig config)
public List<org.apache.hudi.sync.common.model.Partition> getAllPartitions(String tableName)
public void addPartitionsToTable(String tableName, List<String> partitionsToAdd)
public void updatePartitionsToTable(String tableName, List<String> changedPartitions)
public boolean updateTableProperties(String tableName, Map<String,String> tableProperties)
public List<org.apache.hudi.sync.common.model.FieldSchema> getStorageFieldSchemas()
public boolean updateTableComments(String tableName, List<org.apache.hudi.sync.common.model.FieldSchema> fromMetastore, List<org.apache.hudi.sync.common.model.FieldSchema> fromStorage)
public void updateTableSchema(String tableName, org.apache.parquet.schema.MessageType newSchema)
public void createTable(String tableName, org.apache.parquet.schema.MessageType storageSchema, String inputFormatClass, String outputFormatClass, String serdeClass, Map<String,String> serdeProperties, Map<String,String> tableProperties)
public boolean tableExists(String tableName)
public boolean databaseExists(String databaseName)
public void createDatabase(String databaseName)
public void close()
public void updateLastCommitTimeSynced(String tableName)
public void updateLastReplicatedTimeStamp(String tableName, String timeStamp)
public void deleteLastReplicatedTimeStamp(String tableName)
Copyright © 2023 The Apache Software Foundation. All rights reserved.