public class RepositoryRelationshipsIterator extends Object
| Constructor and Description |
|---|
RepositoryRelationshipsIterator(RepositoryHandler repositoryHandler,
String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
int requesterPageSize,
String methodName)
Constructor takes the parameters used to call the repository handler.
|
| Modifier and Type | Method and Description |
|---|---|
Relationship |
getNext()
Return the next relationship.
|
boolean |
moreToReceive()
Determine if there is more to receive.
|
public RepositoryRelationshipsIterator(RepositoryHandler repositoryHandler, String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int requesterPageSize, String methodName)
repositoryHandler - interface to the open metadata repositories.userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followstartingFrom - initial position in the stored list.requesterPageSize - maximum number of definitions to return by this iterator.methodName - name of calling methodpublic boolean moreToReceive()
throws UserNotAuthorizedException,
PropertyServerException
UserNotAuthorizedException - the repository is not allowing the user to access the metadataPropertyServerException - there is a problem in the repositorypublic Relationship getNext() throws UserNotAuthorizedException, PropertyServerException
UserNotAuthorizedException - the repository is not allowing the user to access the metadataPropertyServerException - there is a problem in the repositoryCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.