Class SmartCollectionsCatalogTargetProcessor
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.connectors.CatalogTargetProperties
org.odpi.openmetadata.frameworks.opengovernance.properties.CatalogTarget
org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
org.odpi.openmetadata.adapters.connectors.integration.smartcollections.SmartCollectionsCatalogTargetProcessor
SmartCollectionsCatalogTargetProcessor maintains the membership of a single Results Set collection linked as a catalog target.
It navigates the SmartQuery relationship to find the SavedQuery that determines the results set's membership, issues the
query's REST call and adjusts the results set's membership to match the elements returned.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
auditLog, connectorName, metadataCollectionGUID, metadataCollectionName, propertyHelperFields inherited from class org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
connectorToTarget, integrationContextFields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionSmartCollectionsCatalogTargetProcessor(CatalogTarget template, CatalogTargetContext catalogTargetContext, Connector connectorToTarget, String connectorName, FFDCRESTClientBase restClient, AuditLog auditLog) Primary constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidrefresh()Requests that the connector refreshes the membership of the results set to match the current results of its saved query.Methods inherited from class org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
disconnect, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getBooleanConfigurationProperty, getDateConfigurationProperty, getHostIdentifier, getIntConfigurationProperty, getLongConfigurationProperty, getPortNumber, getStringConfigurationProperty, getSuppliedPlaceholderProperties, setUpMetadataSource, setUpSoftwareCapability, start, throwBadBeanClass, throwMissingConnectionInfo, throwMissingPropertyValue, throwWrongTypeOfCatalogTarget, throwWrongTypeOfResourceConnectorMethods inherited from class org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
equals, getConnectorToTarget, getIntegrationContext, getNetworkAddress, hashCode, toStringMethods inherited from class org.odpi.openmetadata.frameworks.opengovernance.properties.CatalogTarget
getCatalogTargetElement, getRelationshipGUID, getRelationshipVersions, setCatalogTargetElement, setRelationshipGUID, setRelationshipVersionsMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.connectors.CatalogTargetProperties
getCatalogTargetName, getConfigurationProperties, getConnectionName, getDeleteMethod, getMetadataCollectionQualifiedName, getMetadataSourceQualifiedName, getPermittedSynchronization, getTemplates, setCatalogTargetName, setConfigurationProperties, setConnectionName, setDeleteMethod, setMetadataCollectionQualifiedName, setMetadataSourceQualifiedName, setPermittedSynchronization, setTemplatesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
SmartCollectionsCatalogTargetProcessor
public SmartCollectionsCatalogTargetProcessor(CatalogTarget template, CatalogTargetContext catalogTargetContext, Connector connectorToTarget, String connectorName, FFDCRESTClientBase restClient, AuditLog auditLog) Primary constructor- Parameters:
template- object to copycatalogTargetContext- specialized context for this catalog targetconnectorToTarget- connector to access the target resourceconnectorName- name of this integration connectorrestClient- REST client used to issue the saved query's REST callauditLog- logging destination
-
-
Method Details
-
refresh
Requests that the connector refreshes the membership of the results set to match the current results of its saved query.- Overrides:
refreshin classCatalogTargetProcessorBase- Throws:
ConnectorCheckedException- the connector detected a problem.
-