public class AwsGlueCatalogSyncTool extends HiveSyncTool
Extends HiveSyncTool since most logic is similar to Hive syncing,
expect using a different client AWSGlueCatalogSyncClient that implements
the necessary functionality using Glue APIs.
config, roTableName, snapshotTableName, SUFFIX_READ_OPTIMIZED_TABLE, SUFFIX_SNAPSHOT_TABLE, syncClienthadoopConf, metrics, props| Constructor and Description |
|---|
AwsGlueCatalogSyncTool(Properties props,
org.apache.hadoop.conf.Configuration hadoopConf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initSyncClient(HiveSyncConfig hiveSyncConfig) |
static void |
main(String[] args) |
protected boolean |
shouldRecreateAndSyncTable() |
close, doSync, syncHoodieTable, syncHoodieTablepublic AwsGlueCatalogSyncTool(Properties props, org.apache.hadoop.conf.Configuration hadoopConf)
protected void initSyncClient(HiveSyncConfig hiveSyncConfig)
initSyncClient in class HiveSyncToolprotected boolean shouldRecreateAndSyncTable()
shouldRecreateAndSyncTable in class HiveSyncToolpublic static void main(String[] args)
Copyright © 2024 The Apache Software Foundation. All rights reserved.