public class RepositoryRelatedEntitiesIterator extends RepositoryIteratorForEntities
entitiesCache, entityTypeGUID, entityTypeName, methodName, pageSize, repositoryHandler, startingFrom, userId| Constructor and Description |
|---|
RepositoryRelatedEntitiesIterator(RepositoryHandler repositoryHandler,
String userId,
String startingEntityGUID,
String startingEntityTypeName,
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 |
|---|---|
boolean |
moreToReceive()
Determine if there is more to receive.
|
getNextpublic RepositoryRelatedEntitiesIterator(RepositoryHandler repositoryHandler, String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int pageSize, 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.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodpublic boolean moreToReceive()
throws UserNotAuthorizedException,
PropertyServerException
moreToReceive in class RepositoryIteratorForEntitiesUserNotAuthorizedException - 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.