java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacet
Direct Known Subclasses:
OpenLineageNominalTimeRunFacet

public class OpenLineageRunFacet extends Object
This class represents the run facet in the open lineage standard spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
  • Constructor Details

    • OpenLineageRunFacet

      public OpenLineageRunFacet(URI schemaURL)
      Default constructor
      Parameters:
      schemaURL - default value for schemaURL
  • Method Details

    • get_producer

      public URI get_producer()
      Return the URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha.
      Returns:
      URI
    • set_producer

      public void set_producer(URI producer)
      Set up the URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha.
      Parameters:
      producer - uri
    • get_schemaURL

      public URI get_schemaURL()
      Return the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet.
      Returns:
      uri
    • set_schemaURL

      public void set_schemaURL(URI schemaURL)
      Set up the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet.
      Parameters:
      schemaURL - uri
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.
      Returns:
      custom facet map (map from string to object)
    • setAdditionalProperties

      public void setAdditionalProperties(Map<String,Object> additionalProperties)
      Set up a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.
      Parameters:
      additionalProperties - custom facet map (map from string to object)
    • toString

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

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