Class OpenLineageJob
- java.lang.Object
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageJob
-
public class OpenLineageJob extends Object
This class represents the content of an open lineage job 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 OpenLineageJob()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.OpenLineageJobFacetsgetFacets()Return the list of job facets (if any).StringgetName()Return the name of the job.StringgetNamespace()Return the namespace for the job.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String,Object> additionalProperties)Set up a map of additional custom facets.voidsetFacets(OpenLineageJobFacets facets)Set up the list of job facets (if any).voidsetName(String name)Set up the name of the job.voidsetNamespace(String namespace)Set up the namespace for the job.StringtoString()Standard toString method.
-
-
-
Method Detail
-
getNamespace
public String getNamespace()
Return the namespace for the job.- Returns:
- string name
-
setNamespace
public void setNamespace(String namespace)
Set up the namespace for the job.- Parameters:
namespace- string name
-
getName
public String getName()
Return the name of the job.- Returns:
- string name
-
setName
public void setName(String name)
Set up the name of the job.- Parameters:
name- string name
-
getFacets
public OpenLineageJobFacets getFacets()
Return the list of job facets (if any).- Returns:
- job facets containing facet map
-
setFacets
public void setFacets(OpenLineageJobFacets facets)
Set up the list of job facets (if any).- Parameters:
facets- job facets containing facet map
-
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.
-
-