Class RepositoryIterator
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.repositoryhandler.RepositoryIterator
-
- Direct Known Subclasses:
RepositoryFindRelationshipsIterator,RepositoryIteratorForEntities,RepositoryRelationshipsIterator
public class RepositoryIterator extends Object
RepositoryIterator is the shared interface of all repository helper iterators that retrieve entity or relationship details from the repository.
-
-
Field Summary
Fields Modifier and Type Field Description protected DateeffectiveTimeprotected booleanforDuplicateProcessingprotected InvalidParameterHandlerinvalidParameterHandlerstatic intMAX_PAGE_SIZEprotected StringmethodNameprotected intpageSizeprotected RepositoryHandlerrepositoryHandlerprotected intstartingFromprotected StringuserId
-
Constructor Summary
Constructors Constructor Description RepositoryIterator(RepositoryHandler repositoryHandler, InvalidParameterHandler invalidParameterHandler, String userId, int startingFrom, int pageSize, boolean forDuplicateProcessing, Date effectiveTime, String methodName)Constructor takes the parameters used to call the repository handler.
-
-
-
Field Detail
-
MAX_PAGE_SIZE
public static final int MAX_PAGE_SIZE
- See Also:
- Constant Field Values
-
repositoryHandler
protected RepositoryHandler repositoryHandler
-
invalidParameterHandler
protected InvalidParameterHandler invalidParameterHandler
-
userId
protected String userId
-
startingFrom
protected int startingFrom
-
pageSize
protected int pageSize
-
methodName
protected String methodName
-
forDuplicateProcessing
protected boolean forDuplicateProcessing
-
effectiveTime
protected Date effectiveTime
-
-
Constructor Detail
-
RepositoryIterator
public RepositoryIterator(RepositoryHandler repositoryHandler, InvalidParameterHandler invalidParameterHandler, String userId, int startingFrom, int pageSize, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException
Constructor takes the parameters used to call the repository handler.- Parameters:
repositoryHandler- interface to the open metadata repositories.invalidParameterHandler- invalid parameter handleruserId- user making the requeststartingFrom- initial position in the stored list.pageSize- maximum number of definitions to return on this call.forDuplicateProcessing- the request is for duplicate processing and so must not deduplicateeffectiveTime- the time that the retrieved elements must be effective formethodName- name of calling method- Throws:
InvalidParameterException- when page size or start from parameters do not meet criteria
-
-