Class OpenLineageDocumentationDataSetFacet


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

    • OpenLineageDocumentationDataSetFacet

      public OpenLineageDocumentationDataSetFacet()
      Default constructor
  • Method Details

    • getDescription

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

      public void setDescription(String description)
      Set up the description of the dataset.
      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 OpenLineageDataSetFacet
      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 OpenLineageDataSetFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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