Class OpenLineageDocumentationJobFacet


public class OpenLineageDocumentationJobFacet extends OpenLineageJobFacet
This class represents the documentation job facet. It provides a description of the job. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-1-0/DocumentationJobFacet.json#/$defs/DocumentationJobFacet.
  • Constructor Details

    • OpenLineageDocumentationJobFacet

      public OpenLineageDocumentationJobFacet()
      Default constructor
  • Method Details

    • getDescription

      public String getDescription()
      Return the description of the job.
      Returns:
      string
    • setDescription

      public void setDescription(String description)
      Set up the description of the job.
      Parameters:
      description - string
    • getContentType

      public String getContentType()
      Return the MIME type of the description field content.
      Returns:
      string
    • setContentType

      public void setContentType(String contentType)
      Set up the MIME type of the description field content.
      Parameters:
      contentType - string
    • 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