public class RepositoryEntitiesIterator extends RepositoryIteratorForEntities
entitiesCache, entityTypeGUID, entityTypeName, methodName, pageSize, repositoryHandler, startingFrom, userId| Constructor and Description |
|---|
RepositoryEntitiesIterator(RepositoryHandler repositoryHandler,
String userId,
String entityTypeGUID,
String entityTypeName,
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 RepositoryEntitiesIterator(RepositoryHandler repositoryHandler, String userId, String entityTypeGUID, String entityTypeName, int startingFrom, int pageSize, String methodName)
repositoryHandler - interface to the open metadata repositories.userId - user making the requestentityTypeGUID - identifier for the relationship to followentityTypeName - 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.