java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobFacet
Direct Known Subclasses:
OpenLineageDocumentationJobFacet, OpenLineageGcpComposerJobFacet, OpenLineageGcpLineageJobFacet, OpenLineageJobTypeJobFacet, OpenLineageLineageJobFacet, OpenLineageOwnershipJobFacet, OpenLineageSourceCodeJobFacet, OpenLineageSourceCodeLocationJobFacet, OpenLineageSQLJobFacet, OpenLineageTagsJobFacet

public class OpenLineageJobFacet extends OpenLineageFacet
This class represents a job facet from the OpenLineage standard spec https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/JobFacet. It is the superclass of the standard facets of this kind, and is also used directly to hold custom facets (or standard facets that are not yet modelled) whose properties are then found in additionalProperties.
  • Constructor Details

    • OpenLineageJobFacet

      public OpenLineageJobFacet()
      Default constructor
    • OpenLineageJobFacet

      public OpenLineageJobFacet(URI schemaURL)
      Constructor for subclasses that sets up the schema URL for the facet.
      Parameters:
      schemaURL - URL of the JSON schema that describes this facet
  • Method Details

    • get_deleted

      public Boolean get_deleted()
      Return whether this facet is being deleted (set to true to delete a facet).
      Returns:
      boolean
    • set_deleted

      public void set_deleted(Boolean deleted)
      Set up whether this facet is being deleted (set to true to delete a facet).
      Parameters:
      deleted - boolean
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageFacet
      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 OpenLineageFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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