Class GetLinkingEntities
java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractGraphOperation
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.GetLinkingEntities
Implements the 'getLinkingEntities' operation of the OMRS metadata collection interface.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractGraphOperation
limitResultsByStatus, startEntityGUID
Fields inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation
asOfTime, existingDB, xtdb
-
Constructor Summary
ConstructorDescriptionGetLinkingEntities
(XTDBOMRSRepositoryConnector xtdb, String startEntityGUID, String endEntityGUID, List<InstanceStatus> limitResultsByStatus, Date asOfTime) Create a new getLinkingEntities operation. -
Method Summary
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractGraphOperation
findDirectNeighbors, findNeighborhood, getEntityRefFromGraphTuple, getNextLevelNeighbors, resultsToGraph
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation
getXtdbObjectByReference
-
Constructor Details
-
GetLinkingEntities
public GetLinkingEntities(XTDBOMRSRepositoryConnector xtdb, String startEntityGUID, String endEntityGUID, List<InstanceStatus> limitResultsByStatus, Date asOfTime) Create a new getLinkingEntities operation.- Parameters:
xtdb
- connectivity to XTDBstartEntityGUID
- the starting point of the queryendEntityGUID
- the finishing point of the querylimitResultsByStatus
- list of statuses by which to limit resultsasOfTime
- the point-in-time for which to retrieve results
-
-
Method Details
-
execute
Execute the getLinkingEntities operation.- Returns:
- InstanceGraph containing all relationships and entities between the start and end
- Throws:
EntityNotKnownException
- if the requested starting point is not known to the repositoryRepositoryErrorException
- if any issue closing an open XTDB resource
-