@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/view-services/glossary-author/users/{userId}")
public class GlossaryAuthorGraphRESTResource
extends Object
| Constructor and Description |
|---|
GlossaryAuthorGraphRESTResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
SubjectAreaOMASAPIResponse<Graph> |
getGraph(String serverName,
String userId,
String guid,
Date asOfTime,
String nodeFilterStr,
String relationshipFilterStr,
StatusFilter statusFilter)
Get the graph of nodes and relationships radiating out from a node.
|
SubjectAreaOMASAPIResponse<GraphStatistics> |
getGraphCounts(String serverName,
String userId,
String guid,
Date asOfTime,
String nodeFilterStr,
String relationshipFilterStr,
StatusFilter statusFilter)
Get the graph statistics of nodes and relationships radiating out from a node.
|
public GlossaryAuthorGraphRESTResource()
@GetMapping(path="/graph/{guid}")
public SubjectAreaOMASAPIResponse<Graph> 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="relationshipFilter",required=false)
String relationshipFilterStr,
@RequestParam(value="statusFilter",required=false)
StatusFilter statusFilter)
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.relationshipFilterStr - comma separated list of relationship names to include in the query results. Null means include
all relationships 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.@GetMapping(path="/graph-counts/{guid}")
public SubjectAreaOMASAPIResponse<GraphStatistics> getGraphCounts(@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="relationshipFilter",required=false)
String relationshipFilterStr,
@RequestParam(value="statusFilter",required=false)
StatusFilter statusFilter)
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.relationshipFilterStr - comma separated list of relationship names to include in the query results. Null means include
all relationships 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.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.