Class MetadataCollectionIterator
java.lang.Object
org.odpi.openmetadata.frameworks.integration.iterator.IntegrationIterator
org.odpi.openmetadata.frameworks.integration.iterator.MetadataCollectionIterator
MetadataCollectionIterator is ued to iterate through the elements of a particular type within a metadata collection.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.integration.iterator.IntegrationIterator
auditLog, catalogTargetName, connectorName, elementCache, externalScopeGUID, externalScopeName, maxPageSize, metadataCollectionGUID, metadataCollectionQualifiedName, metadataTypeName, openMetadataAccess, propertyHelper, startFrom, targetPermittedSynchronization
-
Constructor Summary
ConstructorDescriptionMetadataCollectionIterator
(String metadataCollectionGUID, String metadataCollectionQualifiedName, String externalScopeGUID, String externalScopeName, String catalogTargetName, String connectorName, String metadataTypeName, OpenMetadataAccess openMetadataAccess, PermittedSynchronization targetPermittedSynchronization, int maxPageSize, AuditLog auditLog) Create the iterator. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Retrieve information from the open metadata repositories.Methods inherited from class org.odpi.openmetadata.frameworks.integration.iterator.IntegrationIterator
getMemberByQualifiedName, getNextMember, moreToReceive
-
Constructor Details
-
MetadataCollectionIterator
public MetadataCollectionIterator(String metadataCollectionGUID, String metadataCollectionQualifiedName, String externalScopeGUID, String externalScopeName, String catalogTargetName, String connectorName, String metadataTypeName, OpenMetadataAccess openMetadataAccess, PermittedSynchronization targetPermittedSynchronization, int maxPageSize, AuditLog auditLog) Create the iterator.- Parameters:
metadataCollectionGUID
- unique identifier of the metadata collectionmetadataCollectionQualifiedName
- unique name of the metadata collectionexternalScopeGUID
- unique identifier for the owning scope (typically a catalog)externalScopeName
- unique name for the owning scope (typically a catalog)catalogTargetName
- name of targetconnectorName
- name of the calling connectormetadataTypeName
- type of element to receiveopenMetadataAccess
- client to access metadatatargetPermittedSynchronization
- the synchronization policy for this targetmaxPageSize
- max page size for the serverauditLog
- logging destination
-
-
Method Details
-
fillCache
protected boolean fillCache() throws InvalidParameterException, PropertyServerException, UserNotAuthorizedExceptionRetrieve information from the open metadata repositories.- Specified by:
fillCache
in classIntegrationIterator
- Returns:
- boolean where true means there are elements to process.
- Throws:
InvalidParameterException
- problem with a parameter valuePropertyServerException
- repository not working properlyUserNotAuthorizedException
- permissions problem
-