# Path: google-datacatalog-hive-connector/src/google/datacatalog_connectors/hive/sync/datacatalog_synchronizer.py
# class DataCatalogSynchronizer:
#     __CLEAN_UP_EVENTS = [
#         entities.SyncEvent.DROP_DATABASE, entities.SyncEvent.DROP_TABLE
#     ]
#     def __init__(self,
#                  project_id,
#                  location_id,
#                  hive_metastore_db_host=None,
#                  hive_metastore_db_user=None,
#                  hive_metastore_db_pass=None,
#                  hive_metastore_db_name=None,
#                  hive_metastore_db_type=None,
#                  metadata_sync_event=None,
#                  enable_monitoring=None):
#     def run(self):
#     def __ingest_created_or_updated(self, prepared_entries):
#     def __after_run(self):
#     def __log_entries(self, prepared_entries):
#     def __log_metadata(self, metadata):
#     def __cleanup_deleted_tables(cls, cleaner, prepared_entries):
#     def __cleanup_deleted_databases(cls, cleaner, prepared_entries):


import argparse
import logging
import os
import sys
from .sync import datacatalog_synchronizer
    @staticmethod
    def __parse_args(argv):
        parser = argparse.ArgumentParser(
            description='Command line to sync Hive metadata to Datacatalog')

        parser.add_argument('--datacatalog-project-id',
                            help='Your Google Cloud project ID',
                            required=True)
        parser.add_argument(
            '--datacatalog-location-id',
            help='Location ID to be used for your Google Cloud Datacatalog',
            required=True)
        parser.add_argument('--hive-metastore-db-host',
                            help='Your Hive metastore database host',
                            required=True)
        parser.add_argument('--hive-metastore-db-user',
                            help='Your Hive database credentials user',
                            required=True)
        parser.add_argument('--hive-metastore-db-pass',
                            help='Your Hive database credentials password',
                            required=True)
        parser.add_argument('--hive-metastore-db-name',
                            help='Your Hive database name password',
                            required=True)
        parser.add_argument(
            '--hive-metastore-db-type',
            help='Your Hive database type (Currently supports postgresql)',
            required=True)
        parser.add_argument(
            '--service-account-path',

# Path: google-datacatalog-hive-connector/src/google/datacatalog_connectors/hive/sync/datacatalog_synchronizer.py
# class DataCatalogSynchronizer:
#     __CLEAN_UP_EVENTS = [
#         entities.SyncEvent.DROP_DATABASE, entities.SyncEvent.DROP_TABLE
#     ]
#     def __init__(self,
#                  project_id,
#                  location_id,
#                  hive_metastore_db_host=None,
#                  hive_metastore_db_user=None,
#                  hive_metastore_db_pass=None,
#                  hive_metastore_db_name=None,
#                  hive_metastore_db_type=None,
#                  metadata_sync_event=None,
#                  enable_monitoring=None):
#     def run(self):
#     def __ingest_created_or_updated(self, prepared_entries):
#     def __after_run(self):
#     def __log_entries(self, prepared_entries):
#     def __log_metadata(self, metadata):
#     def __cleanup_deleted_tables(cls, cleaner, prepared_entries):
#     def __cleanup_deleted_databases(cls, cleaner, prepared_entries):


# Path: google-datacatalog-hive-connector/src/google/datacatalog_connectors/hive/datacatalog_cli.py
import argparse
import logging
import os
import sys
from .sync import datacatalog_synchronizer

    @staticmethod
    def __parse_args(argv):
        parser = argparse.ArgumentParser(
            description='Command line to sync Hive metadata to Datacatalog')

        parser.add_argument('--datacatalog-project-id',
                            help='Your Google Cloud project ID',
                            required=True)
        parser.add_argument(
            '--datacatalog-location-id',
            help='Location ID to be used for your Google Cloud Datacatalog',
            required=True)
        parser.add_argument('--hive-metastore-db-host',
                            help='Your Hive metastore database host',
                            required=True)
        parser.add_argument('--hive-metastore-db-user',
                            help='Your Hive database credentials user',
                            required=True)
        parser.add_argument('--hive-metastore-db-pass',
                            help='Your Hive database credentials password',
                            required=True)
        parser.add_argument('--hive-metastore-db-name',
                            help='Your Hive database name password',
                            required=True)
        parser.add_argument(
            '--hive-metastore-db-type',
            help='Your Hive database type (Currently supports postgresql)',
            required=True)
        parser.add_argument(
            '--service-account-path',

            help='Local Service Account path '