Class OpenLineageHandler
java.lang.Object
org.odpi.openmetadata.governanceservers.openlineage.handlers.OpenLineageHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElementHierarchy
(ElementHierarchyRequest elementHierarchyRequest) Returns a subraph representing the hierarchy of a certain node, based on the requestgetEntityDetails
(String guid) Gets entity details.getNodes
(NodeNamesSearchCriteria searchCriteria) Gets nodes names of certain type with display name containing a certain value - case insensitivegetTypes()
Gets available entities types from lineage repository.Returns a lineage subgraph.search
(LineageSearchRequest request) Gets entity details.
-
Constructor Details
-
OpenLineageHandler
-
-
Method Details
-
lineage
public LineageResponse lineage(Scope scope, String guid, boolean includeProcesses) throws OpenLineageException Returns a lineage subgraph.- Parameters:
scope
- source-and-destination, end-to-end, ultimate-source, ultimate-destination, glossary.guid
- The guid of the node of which the lineage is queried from.includeProcesses
-- Returns:
- A subgraph containing all relevant paths, in graphSON format.
- Throws:
OpenLineageException
-
getEntityDetails
Gets entity details.- Parameters:
guid
- the guid- Returns:
- the entity details
-
search
Gets entity details.- Parameters:
request
- the request- Returns:
- the entity details
-
getTypes
Gets available entities types from lineage repository.- Returns:
- the available entities types
-
getNodes
Gets nodes names of certain type with display name containing a certain value - case insensitive- Parameters:
searchCriteria
- contains the type of the node names to search for, a search string being part of the display name of the nodes, the maximum number of node names to retrieve- Returns:
- the node names that match criteria
-
getElementHierarchy
Returns a subraph representing the hierarchy of a certain node, based on the request- Parameters:
elementHierarchyRequest
- contains the guid of the queried node and the hierarchyType of the display name of the nodes, the maximum number of node names to retrieve- Returns:
- nodes and edges representing the element hierarchy
-