Class SubjectAreaGraphClient
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.client.relationships.SubjectAreaGraphClient
- All Implemented Interfaces:
SubjectAreaGraph
,ResponseParameterization<Graph>
public class SubjectAreaGraphClient
extends Object
implements SubjectAreaGraph, ResponseParameterization<Graph>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGraph
(String userId, String guid, NeighborhoodHistoricalFindRequest request) Get the graph of nodes and relationships radiating out from a node.Class<? extends GenericResponse>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization
getParameterizedType, resultType
Methods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.relationships.SubjectAreaGraph
getGraph
-
Field Details
-
client
-
-
Constructor Details
-
SubjectAreaGraphClient
-
-
Method Details
-
responseType
- Specified by:
responseType
in interfaceResponseParameterization<Graph>
- Returns:
- the response class type inherited from
GenericResponse
-
getGraph
public Graph getGraph(String userId, String guid, NeighborhoodHistoricalFindRequest request) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Description copied from interface:SubjectAreaGraph
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.
- Specified by:
getGraph
in interfaceSubjectAreaGraph
- Parameters:
userId
- userId under which the request is performedguid
- the starting point of the query.request
-NeighborhoodHistoricalFindRequest
- Returns:
- A graph of nodes.
- Throws:
InvalidParameterException
- one of the parameters is null or invalidPropertyServerException
- something went wrong with the REST call stack.UserNotAuthorizedException
- the requesting user is not authorized to issue this request.
-
createGraphQuery
-