Class OpenLineageRun
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.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 integration daemon's integration connectors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, Object> additionalProperties) Set up a map of additional custom facets.voidsetFacets(OpenLineageRunFacets facets) Set up the map of facets describing the run of the job.voidSet 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.
-