Class OpenLineageLineageJobFacet


public class OpenLineageLineageJobFacet extends OpenLineageJobFacet
This class represents the lineage job facet. It explicitly declares the dataset-, field- and job-level relationships produced by the job. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/LineageFacet.json#/$defs/LineageJobFacet.
  • Constructor Details

    • OpenLineageLineageJobFacet

      public OpenLineageLineageJobFacet()
      Default constructor
  • Method Details

    • getEntries

      public List<OpenLineageLineageEntry> getEntries()
      Return the lineage entries describing target entities and the source entities that feed them.
      Returns:
      list
    • setEntries

      public void setEntries(List<OpenLineageLineageEntry> entries)
      Set up the lineage entries describing target entities and the source entities that feed them.
      Parameters:
      entries - list
    • 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