Class OpenLineageJob
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJob
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 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 list of job facets (if any).getName()Return the name of the job.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.voidsetAdditionalProperty(String propertyName, Object propertyValue) Add a property that is not modelled by the bean.voidsetFacets(OpenLineageJobFacets facets) Set up the list of job facets (if any).voidSet up the name of the job.voidsetNamespace(String namespace) Set up the namespace for the job.toString()Standard toString method.
-
Constructor Details
-
OpenLineageJob
public OpenLineageJob()Default constructor
-
-
Method Details
-
getNamespace
Return the namespace for the job.- Returns:
- string name
-
setNamespace
Set up the namespace for the job.- Parameters:
namespace- string name
-
getName
Return the name of the job.- Returns:
- string name
-
setName
Set up the name of the job.- Parameters:
name- string name
-
getFacets
Return the list of job facets (if any).- Returns:
- job facets containing facet map
-
setFacets
Set up the list of job facets (if any).- Parameters:
facets- job facets containing facet map
-
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)
-
setAdditionalProperty
Add a property that is not modelled by the bean. Jackson calls this for each unrecognized property found in the JSON.- Parameters:
propertyName- name of the propertypropertyValue- value of the property
-
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.
-