Class MetadataCollectionIterator
java.lang.Object
org.odpi.openmetadata.frameworks.integration.iterator.IntegrationIterator
org.odpi.openmetadata.frameworks.integration.iterator.MetadataCollectionIterator
MetadataCollectionIterator is used 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, openMetadataStore, propertyHelper, startFrom, targetPermittedSynchronization -
Constructor Summary
ConstructorsConstructorDescriptionMetadataCollectionIterator(String metadataCollectionGUID, String metadataCollectionQualifiedName, String externalScopeGUID, String externalScopeName, String catalogTargetName, String connectorName, String metadataTypeName, OpenMetadataStore openMetadataStore, PermittedSynchronization targetPermittedSynchronization, int maxPageSize, AuditLog auditLog) Create the iterator. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanRetrieve 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, OpenMetadataStore openMetadataStore, 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 receiveopenMetadataStore- 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:
fillCachein classIntegrationIterator- Returns:
- boolean where true means there are elements to process.
- Throws:
InvalidParameterException- problem with a parameter valuePropertyServerException- repository not working properlyUserNotAuthorizedException- permissions problem
-