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, integrationContext, maxPageSize, metadataCollectionGUID, metadataTypeName, propertyHelper, startFrom, targetPermittedSynchronization -
Constructor Summary
ConstructorsConstructorDescriptionMetadataCollectionIterator(String metadataCollectionGUID, String catalogTargetName, String connectorName, String metadataTypeName, IntegrationContext integrationContext, 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 catalogTargetName, String connectorName, String metadataTypeName, IntegrationContext integrationContext, PermittedSynchronization targetPermittedSynchronization, int maxPageSize, AuditLog auditLog) throws UserNotAuthorizedException Create the iterator.- Parameters:
metadataCollectionGUID- unique identifier of the metadata collectioncatalogTargetName- name of targetconnectorName- name of the calling connectormetadataTypeName- type of element to receiveintegrationContext- clients to access metadatatargetPermittedSynchronization- the synchronization policy for this targetmaxPageSize- max page size for the serverauditLog- logging destination- Throws:
UserNotAuthorizedException- connector has disconnected
-
-
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
-