Class GetLinkingEntities


  • public class GetLinkingEntities
    extends AbstractGraphOperation
    Implements the 'getLinkingEntities' operation of the OMRS metadata collection interface.
    • Constructor Detail

      • GetLinkingEntities

        public GetLinkingEntities​(XtdbOMRSRepositoryConnector xtdb,
                                  String startEntityGUID,
                                  String endEntityGUID,
                                  List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus,
                                  Date asOfTime)
        Create a new getLinkingEntities operation.
        Parameters:
        xtdb - connectivity to XTDB
        startEntityGUID - the starting point of the query
        endEntityGUID - the finishing point of the query
        limitResultsByStatus - list of statuses by which to limit results
        asOfTime - the point-in-time for which to retrieve results
    • Method Detail

      • execute

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceGraph execute()
                                                                                                                                      throws org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException,
                                                                                                                                             org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException
        Execute the getLinkingEntities operation.
        Returns:
        InstanceGraph containing all relationships and entities between the start and end
        Throws:
        org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException - if the requested starting point is not known to the repository
        org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException - if any issue closing an open XTDB resource