public class DataHubSyncClient extends HoodieSyncClient
| Modifier and Type | Field and Description |
|---|---|
protected DataHubSyncConfig |
config |
metaClient, partitionValueExtractorHOODIE_LAST_COMMIT_TIME_SYNC| Constructor and Description |
|---|
DataHubSyncClient(DataHubSyncConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Option<String> |
getLastCommitTimeSynced(String tableName) |
Map<String,String> |
getMetastoreSchema(String tableName) |
void |
updateLastCommitTimeSynced(String tableName) |
void |
updateTableProperties(String tableName,
Map<String,String> tableProperties) |
void |
updateTableSchema(String tableName,
org.apache.parquet.schema.MessageType schema) |
getActiveTimeline, getBasePath, getDroppedPartitionsSince, getPartitionEvents, getStorageSchema, getTableType, getWrittenPartitionsSince, isBootstrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPartitionsToTable, createDatabase, createTable, databaseExists, deleteLastReplicatedTimeStamp, dropPartitions, dropTable, getAllPartitions, getLastReplicatedTime, getMetastoreFieldSchemas, getStorageFieldSchemas, tableExists, updateLastReplicatedTimeStamp, updatePartitionsToTable, updateSerdeProperties, updateTableCommentsprotected final DataHubSyncConfig config
public DataHubSyncClient(DataHubSyncConfig config)
public void updateLastCommitTimeSynced(String tableName)
public void updateTableProperties(String tableName, Map<String,String> tableProperties)
public void updateTableSchema(String tableName, org.apache.parquet.schema.MessageType schema)
public void close()
Copyright © 2022 The Apache Software Foundation. All rights reserved.