public class GetEntityNeighborhood extends AbstractGraphOperation
Implements the 'getEntityNeighborhood' operation of the OMRS metadata collection interface.
  • Constructor Details

    • GetEntityNeighborhood

      public GetEntityNeighborhood(XTDBOMRSRepositoryConnector xtdb, String entityGUID, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, int level)
      Create a new getEntityNeighborhood operation.
      Parameters:
      xtdb - connectivity to XTDB
      entityGUID - the starting point of the query
      entityTypeGUIDs - list of entity types to include in the query results (null means include all entities found, irrespective of their type)
      relationshipTypeGUIDs - list of relationship types to include in the query results (null means include all relationships found, irrespective of their type)
      limitResultsByStatus - list of statuses by which to limit results
      limitResultsByClassification - list of classifications that must be present on all returned entities
      asOfTime - the point-in-time for which to retrieve results
      level - the number of the relationships out from the starting entity the query will traverse to gather results
  • Method Details