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

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceGraph
    Execute the getLinkingEntities operation.

    Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation

    getXtdbObjectByReference

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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