Interface SubjectAreaGraph
- All Known Implementing Classes:
SubjectAreaGraphClient
public interface SubjectAreaGraph
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.GraphgetGraph(String userId, String guid, Date asOfTime, Set<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.NodeType> nodeFilter, Set<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.RelationshipType> relationshipFilter, org.odpi.openmetadata.accessservices.subjectarea.properties.enums.StatusFilter statusFilter, int level) Get the graph of nodes and relationships radiating out from a node.org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.GraphgetGraph(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.NeighborhoodHistoricalFindRequest request) Get the graph of nodes and relationships radiating out from a node.
-
Method Details
-
getGraph
default org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Graph getGraph(String userId, String guid, Date asOfTime, Set<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.NodeType> nodeFilter, Set<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.RelationshipType> relationshipFilter, org.odpi.openmetadata.accessservices.subjectarea.properties.enums.StatusFilter statusFilter, int level) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Get the graph of nodes and relationships radiating out from a node.The results are scoped by types of relationships, types of nodes and classifications as well as level.
- Parameters:
userId- userId under which the request is performedguid- the starting point of the query.nodeFilter- Set of the names of the nodes to include in the query results. Null means include all nodes found, irrespective of their type.relationshipFilter- Set of names of relationships to include in the query results. Null means include all relationships found, irrespective of their type.statusFilter- By default only active instances are returned. Specify ALL to see all instance in any status.asOfTime- Requests a historical query of the relationships for the node. Null means return the present values.level- the number of the relationships (relationships) out from the starting node that the query will traverse to gather results. If not specified then it defaults to 3.- Returns:
- A graph of nodes.
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getGraph
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Graph getGraph(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.NeighborhoodHistoricalFindRequest request) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Get the graph of nodes and relationships radiating out from a node.The results are scoped by types of relationships, types of nodes and classifications as well as level.
- Parameters:
userId- userId under which the request is performedguid- the starting point of the query.request-NeighborhoodHistoricalFindRequest- Returns:
- A graph of nodes.
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-