Class OSSUnityCatalogInsideCatalogSyncVolumes
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncBase
org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncVolumes
Provides the specialist methods for working with Unity Catalog (UC) Volumes.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncBase
assetClient, auditLog, catalogGUID, catalogTargetName, catalogTypeName, configurationProperties, connectorName, context, deployedImplementationType, entityTypeName, excludeNames, externalIdClient, includeNames, metadataCollectionQualifiedName, openMetadataStore, propertyFacetClient, propertyHelper, targetPermittedSynchronization, templateGUID, templates, ucConnector, ucFullNameToEgeriaGUID, ucServerEndpoint -
Constructor Summary
ConstructorsConstructorDescriptionOSSUnityCatalogInsideCatalogSyncVolumes(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 volume synchronizer. -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegrationIteratorrefreshEgeria(String parentGUID, String parentRelationshipTypeName, RelationshipBeanProperties relationshipProperties) Review all the volumes stored in Egeria.protected voidrefreshUnityCatalog(String parentGUID, String parentRelationshipTypeName, RelationshipBeanProperties relationshipProperties, IntegrationIterator iterator) Review all the volumes stored in UC.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.sync.OSSUnityCatalogInsideCatalogSyncBase
addExternalIdentifier, addPropertyFacet, deleteElementInEgeria, getArrayConfigurationProperty, getDateFromLong, getExternalIdLinkProperties, getExternalIdProperties, getPathNameFromStorageLocation, getQualifiedName, getUCCatalogFromMember, getUCCommentFomMember, getUCNameFromMember, getUCPropertiesFromMember, getUCSchemaFromMember, getUCStorageLocationFromMember, noMismatchInExternalIdentifier, throwBadBeanClass, throwMissingPropertyValue
-
Constructor Details
-
OSSUnityCatalogInsideCatalogSyncVolumes
public OSSUnityCatalogInsideCatalogSyncVolumes(String connectorName, IntegrationContext context, String catalogTargetName, String catalogGUID, String catalogName, Map<String, String> ucFullNameToEgeriaGUID, PermittedSynchronization targetPermittedSynchronization, OSSUnityCatalogResourceConnector ucConnector, String ucServerEndpoint, Map<String, throws UserNotAuthorizedException, InvalidParameterExceptionString> templates, Map<String, Object> configurationProperties, List<String> excludeNames, List<String> includeNames, AuditLog auditLog) Set up the volume 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- the connector was disconnected before/during startInvalidParameterException
-
-
Method Details
-
refreshEgeria
protected IntegrationIterator refreshEgeria(String parentGUID, String parentRelationshipTypeName, RelationshipBeanProperties relationshipProperties) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException Review all the volumes stored in Egeria.- Specified by:
refreshEgeriain classOSSUnityCatalogInsideCatalogSyncBase- Parameters:
parentGUID- unique identifier of the parentparentRelationshipTypeName- relationship type between parent and elements to iterate throughrelationshipProperties- optional properties for the relationship- Returns:
- iterator
- Throws:
InvalidParameterException- parameter errorPropertyServerException- repository errorUserNotAuthorizedException- security errorConnectorCheckedException- logic error in properties
-
refreshUnityCatalog
protected void refreshUnityCatalog(String parentGUID, String parentRelationshipTypeName, RelationshipBeanProperties relationshipProperties, IntegrationIterator iterator) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException Review all the volumes stored in UC.- Specified by:
refreshUnityCatalogin classOSSUnityCatalogInsideCatalogSyncBase- Parameters:
parentGUID- unique identifier of the parentparentRelationshipTypeName- relationship type between parent and elements to iterate throughrelationshipProperties- optional properties for the relationshipiterator- Metadata collection iterator- Throws:
InvalidParameterException- parameter errorPropertyServerException- repository errorUserNotAuthorizedException- security errorConnectorCheckedException- logic error in properties
-