Class OpenLineageRun
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRun
This class represents the content of an open lineage run event as defined in JSON
spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json. It is used internally in Egeria to pass this information
to the Lineage Integrator OMIS's integration connectors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return a map of additional custom facets.Return the map of facets describing the run of the job.getRunId()
Return the unique identifier of the job run.int
hashCode()
Return hash code based on properties.void
setAdditionalProperties
(Map<String, Object> additionalProperties) Set up a map of additional custom facets.void
setFacets
(OpenLineageRunFacets facets) Set up the map of facets describing the run of the job.void
Set up the unique identifier of the job run.toString()
Standard toString method.
-
Constructor Details
-
OpenLineageRun
public OpenLineageRun()Default constructor
-
-
Method Details
-
getRunId
Return the unique identifier of the job run.- Returns:
- uuid
-
setRunId
Set up the unique identifier of the job run.- Parameters:
runId
- UUID value
-
getFacets
Return the map of facets describing the run of the job.- Returns:
- run facets object
-
setFacets
Set up the map of facets describing the run of the job.- Parameters:
facets
- run facets object
-
getAdditionalProperties
Return a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.- Returns:
- custom facet map (map from string to object)
-
setAdditionalProperties
Set up a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.- Parameters:
additionalProperties
- custom facet map (map from string to object)
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-