java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.executors.RepositoryExecutorBase
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.executors.FindRelationshipsExecutor
All Implemented Interfaces:
CloneableRepositoryExecutor, RepositoryExecutor

public class FindRelationshipsExecutor extends RepositoryExecutorBase
FindRelationshipsExecutor is the executor for the findRelationships request. This request can be issued in parallel - the call to each request potentially running in a different thread.
  • Constructor Details

    • FindRelationshipsExecutor

      public FindRelationshipsExecutor(String userId, String relationshipTypeGUID, List<String> relationshipSubtypeGUIDs, SearchProperties matchProperties, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize, String localMetadataCollectionId, AuditLog auditLog, OMRSRepositoryValidator repositoryValidator, String methodName)
      Create the executor. The parameters provide the parameters for issuing the requests and combining the results.
      Parameters:
      userId - unique identifier for requesting user.
      relationshipTypeGUID - unique identifier (guid) for the relationship's type. Null means all types (but may be slow so not recommended).
      relationshipSubtypeGUIDs - optional list of the unique identifiers (guids) for subtypes of the relationshipTypeGUID to include in the search results. Null means all subtypes.
      matchProperties - Optional list of relationship property conditions to match.
      fromRelationshipElement - the starting element number of the entities to return. This is used when retrieving elements beyond the first page of results. Zero means start from the first element.
      limitResultsByStatus - By default, relationships in all statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values.
      asOfTime - Requests a historical query of the relationships for the entity. Null means return the present values.
      sequencingProperty - String name of the property that is to be used to sequence the results. Null means do not sequence on a property name (see SequencingOrder).
      sequencingOrder - Enum defining how the results should be ordered.
      pageSize - the maximum number of result relationships that can be returned on this request. Zero means unrestricted return results size.
      localMetadataCollectionId - unique identifier for the local repository - may be null if no local repository
      auditLog - logging destination
      repositoryValidator - validator for resulting relationships
      methodName - calling method
  • Method Details