Class TypesAccumulator
java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.ExceptionAccumulatorBase
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.QueryAccumulatorBase
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.TypesAccumulator
TypesAccumulator accumulates type information for each of the members of the connected cohort members.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.QueryAccumulatorBase
localMetadataCollectionId, repositoryValidator
-
Constructor Summary
ConstructorsConstructorDescriptionTypesAccumulator
(String localMetadataCollectionId, AuditLog auditLog, OMRSRepositoryValidator repositoryValidator) Construct a type def gallery accumulator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTypeDefGallery
(TypeDefGallery types, String metadataCollectionId) Add a gallery of types to the accumulator.Extract the results - this will the a unique list of types selected from the responses supplied to this accumulator.Methods inherited from class org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.QueryAccumulatorBase
areResultsComplete, captureException, captureException, captureException, captureException, captureException, captureException, captureException, captureException, captureException, captureException, captureException, captureGenericException, registerExecutor, resultsReturned
Methods inherited from class org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.ExceptionAccumulatorBase
throwCapturedClassificationErrorException, throwCapturedEntityNotDeletedException, throwCapturedEntityNotKnownException, throwCapturedEntityProxyOnlyException, throwCapturedFunctionNotSupportedException, throwCapturedGenericException, throwCapturedInvalidParameterException, throwCapturedInvalidTypeDefException, throwCapturedPagingErrorException, throwCapturedPropertyErrorException, throwCapturedRelationshipNotDeletedException, throwCapturedRelationshipNotKnownException, throwCapturedRepositoryErrorException, throwCapturedStatusNotSupportedException, throwCapturedTypeDefConflictException, throwCapturedTypeDefNotKnownException, throwCapturedTypeDefNotSupportedException, throwCapturedTypeErrorException, throwCapturedUserNotAuthorizedException
-
Constructor Details
-
TypesAccumulator
public TypesAccumulator(String localMetadataCollectionId, AuditLog auditLog, OMRSRepositoryValidator repositoryValidator) Construct a type def gallery accumulator. Its base class manages the common variables needed to control the execution of requests across all members of the cohort(s).- Parameters:
localMetadataCollectionId
- collection Id of local repository - null means no local repositoryauditLog
- audit log provides destination for log messagesrepositoryValidator
- validator provides common validation routines
-
-
Method Details
-
addTypeDefGallery
Add a gallery of types to the accumulator. This method is included to save the executors from coding this loop to process each instance.- Parameters:
types
- gallery of retrieved typesmetadataCollectionId
- source metadata collection
-
getResults
Extract the results - this will the a unique list of types selected from the responses supplied to this accumulator. It should be called once all the executors have completed processing their request(s).- Returns:
- type definition gallery
-