public class LineageGraphConnectorHelper extends Object
| Constructor and Description |
|---|
LineageGraphConnectorHelper(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource graphTraversalSource) |
| Modifier and Type | Method and Description |
|---|---|
Optional<LineageVerticesAndEdges> |
endToEnd(String guid,
boolean includeProcesses)
Returns a subgraph containing all paths leading from any root node to the queried node, and all of the paths
leading from the queried node to any leaf nodes.
|
Optional<LineageVerticesAndEdges> |
glossary(String guid,
boolean includeProcesses)
Returns a subgraph containing all columns or tables connected to the queried glossary term, as well as all
columns or tables connected to synonyms of the queried glossary term.
|
Optional<LineageVerticesAndEdges> |
sourceAndDestination(String guid,
boolean includeProcesses)
Returns a subgraph containing all root and leaf nodes of the full graph that are connected with the queried node.
|
Optional<LineageVerticesAndEdges> |
ultimateDestination(String guid,
boolean includeProcesses)
Returns a subgraph containing all leaf nodes of the full graph that are connected with the queried node.
|
Optional<LineageVerticesAndEdges> |
ultimateSource(String guid,
boolean includeProcesses)
Returns a subgraph containing all root of the full graph that are connected with the queried node.
|
public LineageGraphConnectorHelper(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource graphTraversalSource)
public Optional<LineageVerticesAndEdges> ultimateSource(String guid, boolean includeProcesses)
guid - The guid of the node of which the lineage is queried of. This can be a column or a table.public Optional<LineageVerticesAndEdges> ultimateDestination(String guid, boolean includeProcesses)
guid - The guid of the node of which the lineage is queried of. This can be a column or table node.public Optional<LineageVerticesAndEdges> endToEnd(String guid, boolean includeProcesses)
guid - The guid of the node of which the lineage is queried of. This can be a column or a table.public Optional<LineageVerticesAndEdges> sourceAndDestination(String guid, boolean includeProcesses)
guid - The guid of the node of which the lineage is queried of. This can be a column or a table.public Optional<LineageVerticesAndEdges> glossary(String guid, boolean includeProcesses)
guid - The guid of the glossary term of which the lineage is queried of.Copyright © 2018–2020 ODPi. All rights reserved.