public class AWSGlueCatalogSyncClient extends org.apache.hudi.sync.common.HoodieSyncClient
config, metaClient, partitionValueExtractorHOODIE_LAST_COMMIT_TIME_SYNC| Constructor and Description |
|---|
AWSGlueCatalogSyncClient(HiveSyncConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPartitionsToTable(String tableName,
List<String> partitionsToAdd) |
void |
close() |
void |
createDatabase(String databaseName) |
void |
createTable(String tableName,
org.apache.parquet.schema.MessageType storageSchema,
String inputFormatClass,
String outputFormatClass,
String serdeClass,
Map<String,String> serdeProperties,
Map<String,String> tableProperties) |
boolean |
databaseExists(String databaseName) |
void |
deleteLastReplicatedTimeStamp(String tableName) |
void |
dropPartitions(String tableName,
List<String> partitionsToDrop) |
List<org.apache.hudi.sync.common.model.Partition> |
getAllPartitions(String tableName) |
Option<String> |
getLastCommitTimeSynced(String tableName) |
Option<String> |
getLastReplicatedTime(String tableName) |
Map<String,String> |
getMetastoreSchema(String tableName) |
boolean |
tableExists(String tableName) |
void |
updateLastCommitTimeSynced(String tableName) |
void |
updateLastReplicatedTimeStamp(String tableName,
String timeStamp) |
void |
updatePartitionsToTable(String tableName,
List<String> changedPartitions) |
void |
updateTableProperties(String tableName,
Map<String,String> tableProperties)
Update the table properties to the table.
|
void |
updateTableSchema(String tableName,
org.apache.parquet.schema.MessageType newSchema) |
getActiveTimeline, getBasePath, getDroppedPartitionsSince, getPartitionEvents, getStorageSchema, getTableType, getWrittenPartitionsSince, isBootstrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdropTable, getMetastoreFieldSchemas, getStorageFieldSchemas, updateSerdeProperties, updateTableCommentspublic 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 void updateTableProperties(String tableName, Map<String,String> tableProperties)
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.