@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/subject-area")
public class SubjectAreaGraphRESTResource
extends SubjectAreaRESTServicesInstance
instanceHandler, oMRSAPIHelper| Constructor and Description |
|---|
SubjectAreaGraphRESTResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
SubjectAreaOMASAPIResponse |
getGraph(String serverName,
String userId,
String guid,
Date asOfTime,
String nodeFilterStr,
String lineFilterStr,
StatusFilter statusFilter,
Integer level)
Get the graph of nodes and lines radiating out from a node.
|
createLine, deleteLine, getLine, getRelationshipsFromGuid, initializeAPI, initializeAPI, restoreLine, setOMRSAPIHelper, updateLinepublic SubjectAreaGraphRESTResource()
@RequestMapping(method=GET,
path="/users/{userId}/nodes/{guid}")
public SubjectAreaOMASAPIResponse getGraph(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="asOfTime",required=false)
Date asOfTime,
@RequestParam(value="nodeFilter",required=false)
String nodeFilterStr,
@RequestParam(value="lineFilter",required=false)
String lineFilterStr,
@RequestParam(value="statusFilter",required=false)
StatusFilter statusFilter,
@RequestParam(value="level",required=false)
Integer level)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedguid - the starting point of the query.nodeFilterStr - Comma separated list of node names to include in the query results. Null means include
all entities found, irrespective of their type.lineFilterStr - comma separated list of line names to include in the query results. Null means include
all lines found, irrespective of their type.asOfTime - Requests a historical query of the relationships for the entity. Null means return the
present values.statusFilter - By default only active instances are returned. Specify ALL to see all instance in any status.level - the number of the lines (relationships) out from the starting node that the query will traverse to
gather results. If not specified then it defaults to 3.Copyright © 2018–2019 ODPi. All rights reserved.