java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageJobFacets

public class OpenLineageJobFacets extends Object
This class represents the map of job facets in the open lineage standard spec.
  • Constructor Details

    • OpenLineageJobFacets

      public OpenLineageJobFacets()
      Default constructor
  • Method Details

    • getSourceCodeLocation

      public OpenLineageSourceCodeLocationJobFacet getSourceCodeLocation()
      Return the source code location.
      Returns:
      facet
    • setSourceCodeLocation

      public void setSourceCodeLocation(OpenLineageSourceCodeLocationJobFacet sourceCodeLocation)
      Set up the source code location.
      Parameters:
      sourceCodeLocation - facet
    • getSql

      public OpenLineageSQLJobFacet getSql()
      Return the SQL command facet
      Returns:
      facet
    • setSql

      public void setSql(OpenLineageSQLJobFacet sql)
      Set up the SQL command facet
      Parameters:
      sql - facet
    • getDocumentation

      public OpenLineageDocumentationJobFacet getDocumentation()
      Return the documentation
      Returns:
      facet
    • setDocumentation

      public void setDocumentation(OpenLineageDocumentationJobFacet documentation)
      Set up the documentation.
      Parameters:
      documentation - facet
    • getAdditionalProperties

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

      public void setAdditionalProperties(Map<String,OpenLineageJobFacet> additionalProperties)
      Set up a map of additional job facets. The name is the identifier of the facet type and the object is the facet itself.
      Parameters:
      additionalProperties - job 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