Class OpenLineageRun
- java.lang.Object
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRun
-
public class OpenLineageRun extends Object
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
Constructors Constructor Description OpenLineageRun()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.Map<String,Object>getAdditionalProperties()Return a map of additional custom facets.OpenLineageRunFacetsgetFacets()Return the map of facets describing the run of the job.UUIDgetRunId()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.voidsetRunId(UUID runId)Set up the unique identifier of the job run.StringtoString()Standard toString method.
-
-
-
Method Detail
-
getRunId
public UUID getRunId()
Return the unique identifier of the job run.- Returns:
- uuid
-
setRunId
public void setRunId(UUID runId)
Set up the unique identifier of the job run.- Parameters:
runId- UUID value
-
getFacets
public OpenLineageRunFacets getFacets()
Return the map of facets describing the run of the job.- Returns:
- run facets object
-
setFacets
public void setFacets(OpenLineageRunFacets facets)
Set up the map of facets describing the run of the job.- Parameters:
facets- run facets object
-
getAdditionalProperties
public Map<String,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
public void setAdditionalProperties(Map<String,Object> additionalProperties)
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
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-