Class RepositoryExecutorBase
java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.executors.RepositoryExecutorBase
- All Implemented Interfaces:
RepositoryExecutor
- Direct Known Subclasses:
AddEntityExecutor
,AddRelationshipExecutor
,ClassifyEntityExecutor
,FindRelationshipsByPropertyExecutor
,FindRelationshipsByPropertyValueExecutor
,FindRelationshipsExecutor
,GetAllTypesExecutor
,GetEntityExecutor
,GetRelationshipExecutor
,GetRelationshipsForEntityExecutor
,PageableEntityRepositoryExecutorBase
,PurgeEntityExecutor
,PurgeRelationshipExecutor
,RestoreEntityExecutor
,RestoreRelationshipExecutor
,VerifyAttributeTypeDefExecutor
,VerifyTypeDefExecutor
RepositoryExecutorBase provides the common functions for all executors for a federated query.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the method name for the executor.abstract boolean
issueRequestToRepository
(String metadataCollectionId, OMRSMetadataCollection metadataCollection) Perform the required action for the supplied repository.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.executors.RepositoryExecutor
augmentResultFromRepository, getResultsForAugmentation
-
Field Details
-
methodName
-
userId
-
-
Method Details
-
getMethodName
Return the method name for the executor.- Returns:
- calling method name
-
issueRequestToRepository
public abstract boolean issueRequestToRepository(String metadataCollectionId, OMRSMetadataCollection metadataCollection) Perform the required action for the supplied repository.- Specified by:
issueRequestToRepository
in interfaceRepositoryExecutor
- Parameters:
metadataCollectionId
- unique identifier for the metadata collection for the repositorymetadataCollection
- metadata collection object for the repository- Returns:
- boolean true means that the required results have been achieved
-