Class OSSUnityCatalogInsideCatalogSyncTables
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncBase
org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncTables
Provides the specialist methods for working with Unity Catalog (UC) Tables.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncBase
auditLog, catalogGUID, catalogName, catalogQualifiedName, catalogTypeName, configurationProperties, connectorName, context, deployedImplementationType, excludeNames, includeNames, openMetadataStore, propertyHelper, targetPermittedSynchronization, templates, ucConnector, ucFullNameToEgeriaGUID, ucServerEndpoint -
Constructor Summary
ConstructorsConstructorDescriptionOSSUnityCatalogInsideCatalogSyncTables(String connectorName, IntegrationContext context, String catalogTargetName, String catalogGUID, String catalogName, Map<String, String> ucFullNameToEgeriaGUID, PermittedSynchronization targetPermittedSynchronization, OSSUnityCatalogResourceConnector ucConnector, String ucServerEndpoint, Map<String, String> templates, Map<String, Object> configurationProperties, List<String> excludeNames, List<String> includeNames, AuditLog auditLog) Set up the table synchronizer. -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegrationIteratorReview all the tables stored in Egeria.protected voidrefreshUnityCatalog(IntegrationIterator iterator) Review all the tables stored in UC.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncBase
addPropertyFacet, deleteElementInEgeria, getDateFromLong, getExternalIdentifierProperties, getMetadataSourceOptions, getPathNameFromStorageLocation, getQualifiedName, getUCCatalogFromMember, getUCCommentFomMember, getUCNameFromMember, getUCPropertiesFromMember, getUCSchemaFromMember, getUCStorageLocationFromMember, noMismatchInExternalIdentifier
-
Constructor Details
-
OSSUnityCatalogInsideCatalogSyncTables
public OSSUnityCatalogInsideCatalogSyncTables(String connectorName, IntegrationContext context, String catalogTargetName, String catalogGUID, String catalogName, Map<String, String> ucFullNameToEgeriaGUID, PermittedSynchronization targetPermittedSynchronization, OSSUnityCatalogResourceConnector ucConnector, String ucServerEndpoint, Map<String, throws UserNotAuthorizedExceptionString> templates, Map<String, Object> configurationProperties, List<String> excludeNames, List<String> includeNames, AuditLog auditLog) Set up the table synchronizer.- Parameters:
connectorName- name of this connectorcontext- context for the connectorcatalogTargetName- the catalog target namecatalogGUID- guid of the catalogcatalogName- name of the catalogucFullNameToEgeriaGUID- map of full names from UC to the GUID of the entity in Egeria.targetPermittedSynchronization- the policy that controls the direction of metadata exchangeucConnector- connector for accessing UCucServerEndpoint- the server endpoint used to constructing the qualified namestemplates- templates supplied through the catalog targetconfigurationProperties- configuration properties supplied through the catalog targetexcludeNames- list of catalogs to ignore (and include all others)includeNames- list of catalogs to include (and ignore all others) - overrides excludeCatalogsauditLog- logging destination- Throws:
UserNotAuthorizedException- connector disconnected
-
-
Method Details
-
refreshEgeria
protected IntegrationIterator refreshEgeria() throws InvalidParameterException, PropertyServerException, UserNotAuthorizedExceptionReview all the tables stored in Egeria.- Specified by:
refreshEgeriain classOSSUnityCatalogInsideCatalogSyncBase- Returns:
- MetadataCollectionIterator
- Throws:
InvalidParameterException- parameter errorPropertyServerException- repository errorUserNotAuthorizedException- security error
-
refreshUnityCatalog
protected void refreshUnityCatalog(IntegrationIterator iterator) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Review all the tables stored in UC.- Specified by:
refreshUnityCatalogin classOSSUnityCatalogInsideCatalogSyncBase- Parameters:
iterator- Metadata collection iterator- Throws:
InvalidParameterException- parameter errorPropertyServerException- repository errorUserNotAuthorizedException- security error
-