public class RepositoryRelatedEntitiesIterator extends Object
| Constructor and Description |
|---|
RepositoryRelatedEntitiesIterator(RepositoryHandler repositoryHandler,
String userId,
String anchorEntityGUID,
String anchorEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
int pageSize,
String methodName)
Constructor takes the parameters used to call the repository handler.
|
| Modifier and Type | Method and Description |
|---|---|
EntityDetail |
getNext()
Return the next relationship.
|
boolean |
moreToReceive()
Determine if there is more to receive.
|
public RepositoryRelatedEntitiesIterator(RepositoryHandler repositoryHandler, String userId, String anchorEntityGUID, String anchorEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int pageSize, String methodName)
repositoryHandler - interface to the open metadata repositories.userId - user making the requestanchorEntityGUID - starting entity's GUIDanchorEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.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 EntityDetail getNext() throws UserNotAuthorizedException, PropertyServerException
UserNotAuthorizedException - the repository is not allowing the user to access the metadataPropertyServerException - there is a problem in the repositoryCopyright © 2018–2020 ODPi. All rights reserved.