Class OpenLineageGcpLineageJobFacet


public class OpenLineageGcpLineageJobFacet extends OpenLineageJobFacet
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 Details

    • OpenLineageGcpLineageJobFacet

      public OpenLineageGcpLineageJobFacet()
      Default constructor
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Return the name of the job to be used on the UI.
      Returns:
      string
    • setDisplayName

      public void setDisplayName(String displayName)
      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

      public void setOrigin(OpenLineageGcpLineageJobFacetOrigin origin)
      Set up the origin (source system) of the job.
      Parameters:
      origin - bean
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageJobFacet
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class OpenLineageJobFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class OpenLineageJobFacet
      Returns:
      int