All Known Implementing Classes:
AddEntityExecutor, AddRelationshipExecutor, ClassifyEntityExecutor, FindEntitiesByClassificationExecutor, FindEntitiesByPropertyExecutor, FindEntitiesByPropertyValueExecutor, FindEntitiesExecutor, FindRelationshipsByPropertyExecutor, FindRelationshipsByPropertyValueExecutor, FindRelationshipsExecutor, GetAllTypesExecutor, GetEntityDetailExecutor, GetEntityDetailHistoryExecutor, GetEntityExecutor, GetEntitySummaryExecutor, GetRelationshipExecutor, GetRelationshipsForEntityExecutor, PageableEntityRepositoryExecutorBase, PurgeEntityExecutor, PurgeRelationshipExecutor, RepositoryExecutorBase, RestoreEntityExecutor, RestoreRelationshipExecutor, VerifyAttributeTypeDefExecutor, VerifyTypeDefExecutor

public interface RepositoryExecutor
RepositoryExecutor is the interface implemented by the executors that issue requests to a repository during a federated query.
  • Method Details

    • issueRequestToRepository

      boolean issueRequestToRepository(String metadataCollectionId, OMRSMetadataCollection metadataCollection)
      Perform the required action for the supplied repository.
      Parameters:
      metadataCollectionId - identifier for the metadata collection
      metadataCollection - metadata collection object for the repository
      Returns:
      boolean true means that the required results have been achieved
    • getResultsForAugmentation

      default List<String> getResultsForAugmentation()
      Return the results that need further augmentation.
      Returns:
      null (if no augmentation of results is required) or a list containing the guids of the results.
    • augmentResultFromRepository

      default void augmentResultFromRepository(String resultGUID, String metadataCollectionId, OMRSMetadataCollection metadataCollection)
      Perform the required action to augment a result.
      Parameters:
      resultGUID - unique identifier of result.
      metadataCollectionId - identifier for the metadata collection
      metadataCollection - metadata collection object for the repository