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

public abstract class RepositoryExecutorBase extends Object implements RepositoryExecutor
RepositoryExecutorBase provides the common functions for all executors for a federated query.
  • Field Details

    • methodName

      protected String methodName
    • userId

      protected String userId
  • Method Details

    • getMethodName

      public String 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 interface RepositoryExecutor
      Parameters:
      metadataCollectionId - unique identifier for the metadata collection for the repository
      metadataCollection - metadata collection object for the repository
      Returns:
      boolean true means that the required results have been achieved