Class OpenLineageJob
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.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 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 list of job facets (if any).getName()
Return the name of the job.Return the namespace for the job.int
hashCode()
Return hash code based on properties.void
setAdditionalProperties
(Map<String, Object> additionalProperties) Set up a map of additional custom facets.void
setFacets
(OpenLineageJobFacets facets) Set up the list of job facets (if any).void
Set up the name of the job.void
setNamespace
(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)
-
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.
-