Class RelatedElementsIterator
java.lang.Object
org.odpi.openmetadata.frameworks.integration.iterator.IntegrationIterator
org.odpi.openmetadata.frameworks.integration.iterator.RelatedElementsIterator
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
ConstructorDescriptionRelatedElementsIterator
(String metadataCollectionGUID, String metadataCollectionQualifiedName, String externalScopeGUID, String externalScopeName, String catalogTargetName, String connectorName, String parentGUID, String parentRelationshipTypeName, int parentAtEnd, 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
-
RelatedElementsIterator
public RelatedElementsIterator(String metadataCollectionGUID, String metadataCollectionQualifiedName, String externalScopeGUID, String externalScopeName, String catalogTargetName, String connectorName, String parentGUID, String parentRelationshipTypeName, int parentAtEnd, 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 connectorparentGUID
- unique identifier of element that the desired results are linked toparentRelationshipTypeName
- type of relationship - may be nullparentAtEnd
- which end of the relationship to start from: 0 (either); 1 or 2metadataTypeName
- 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
-