public class RepositoryFindEntitiesIterator extends RepositoryIteratorForEntities
entitiesCache, entityTypeGUID, entityTypeName, methodName, pageSize, repositoryHandler, sequencingPropertyName, startingFrom, userId| Constructor and Description |
|---|
RepositoryFindEntitiesIterator(RepositoryHandler repositoryHandler,
String userId,
String entityTypeGUID,
List<String> entitySubtypeGUIDs,
SearchProperties searchProperties,
List<InstanceStatus> limitResultsByStatus,
SearchClassifications searchClassifications,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int startingFrom,
int requesterPageSize,
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 RepositoryFindEntitiesIterator(RepositoryHandler repositoryHandler, String userId, String entityTypeGUID, List<String> entitySubtypeGUIDs, SearchProperties searchProperties, List<InstanceStatus> limitResultsByStatus, SearchClassifications searchClassifications, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int startingFrom, int requesterPageSize, String methodName)
repositoryHandler - interface to the open metadata repositories.userId - user making the requestentityTypeGUID - String unique identifier for the entity type of interest (null means any entity type).entitySubtypeGUIDs - optional list of the unique identifiers (guids) for subtypes of the entityTypeGUID to
include in the search results. Null means all subtypes.searchProperties - Optional list of entity property conditions to match.limitResultsByStatus - By default, entities in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.searchClassifications - Optional list of entity classifications to match.asOfTime - Requests a historical query of the entity. Null means return the present values.sequencingProperty - String name of the entity property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.startingFrom - initial position in the stored list.requesterPageSize - 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.