public class LineageGraphConnectorHelper extends Object
| Constructor and Description |
|---|
LineageGraphConnectorHelper(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource graphTraversalSource,
boolean supportingTransactions) |
| 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> |
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.
|
Optional<LineageVerticesAndEdges> |
verticalLineage(String guid)
Returns a subgraph navigating the edges of interest based on target node type.
|
public LineageGraphConnectorHelper(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource graphTraversalSource,
boolean supportingTransactions)
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> verticalLineage(String guid)
glossaryVerticalLineage(java.lang.String), tabularColumnVerticalLineage(java.lang.String), relationalColumnVerticalLineage(java.lang.String)guid - guid to extract vertical lineage forCopyright © 2018–2020 ODPi. All rights reserved.