@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/open-lineage/users/{userId}")
public class OpenLineageResource
extends Object
| Constructor and Description |
|---|
OpenLineageResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
dumpGraph(String userId,
String serverName,
String graph)
Write an entire graph to disc in the Egeria root folder, in the .GraphMl format.
|
String |
exportGraph(String userId,
String serverName,
String graph)
Return an entire graph, in GraphSON format.
|
void |
initBinder(org.springframework.web.bind.WebDataBinder webdataBinder) |
String |
lineage(String serverName,
String userId,
String graph,
Scope scope,
View view,
String guid)
Returns the graph that the user will initially see when querying lineage.
|
@GetMapping(path="/lineage/sources/{graph}/scopes/{scope}/views/{view}/entities/{guid}",
produces="application/json")
public String lineage(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@PathVariable(value="graph")
String graph,
@PathVariable(value="scope")
Scope scope,
@PathVariable(value="view")
View view,
@PathVariable(value="guid")
String guid)
userId - calling user.serverName - name of the server instance to connect to.view - The view queried by the user: hostview, tableview, columnview.scope - ultimate-source, ultimate-destination, glossary.graph - main, buffer, mock, history.guid - The guid of the node of which the lineage is queried of.@GetMapping(path="/dump/sources/{graph}")
public VoidResponse dumpGraph(@PathVariable(value="userId")
String userId,
@PathVariable(value="serverName")
String serverName,
@PathVariable(value="graph")
String graph)
userId - calling user.serverName - name of the server instance to connect to.graph - MAIN, BUFFER, MOCK, HISTORY.@GetMapping(path="/export/sources/{graph}",
produces="application/json")
public String exportGraph(@PathVariable(value="userId")
String userId,
@PathVariable(value="serverName")
String serverName,
@PathVariable(value="graph")
String graph)
userId - calling user.serverName - name of the server instance to connect to.graph - MAIN, BUFFER, MOCK, HISTORY.@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder webdataBinder)
Copyright © 2018–2019 ODPi. All rights reserved.