Class OpenLineageGcpLineageJobFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageGcpLineageJobFacet
This class represents the gcp_lineage job facet registered by Google Cloud Data Lineage. It supplies the display name and origin of the job for the Data Lineage UI.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/GcpLineageJobFacet.json#/$defs/GcpLineageJobFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the name of the job to be used on the UI.Return the origin (source system) of the job.inthashCode()Return hash code based on properties.voidsetDisplayName(String displayName) Set up the name of the job to be used on the UI.voidSet up the origin (source system) of the job.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobFacet
get_deleted, set_deletedMethods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageGcpLineageJobFacet
public OpenLineageGcpLineageJobFacet()Default constructor
-
-
Method Details
-
getDisplayName
Return the name of the job to be used on the UI.- Returns:
- string
-
setDisplayName
Set up the name of the job to be used on the UI.- Parameters:
displayName- string
-
getOrigin
Return the origin (source system) of the job.- Returns:
- bean
-
setOrigin
Set up the origin (source system) of the job.- Parameters:
origin- bean
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageJobFacet- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageJobFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageJobFacet- Returns:
- int
-