Class OpenLineageOutputDataSet

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

public class OpenLineageOutputDataSet extends Object
This class represents the content of an open lineage output data set as defined out JSON spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json. It is used internally out Egeria to pass this information to the Lineage Integrator OMIS's integration connectors.
  • Constructor Details

    • OpenLineageOutputDataSet

      public OpenLineageOutputDataSet()
      Default constructor
  • Method Details

    • getNamespace

      public String getNamespace()
      Return the namespace for the output.
      Returns:
      string name
    • setNamespace

      public void setNamespace(String namespace)
      Set up the namespace for the output.
      Parameters:
      namespace - string name
    • getName

      public String getName()
      Return the name of the output.
      Returns:
      string name
    • setName

      public void setName(String name)
      Set up the name of the output.
      Parameters:
      name - string name
    • getFacets

      public OpenLineageDataSetFacets getFacets()
      Return the map of data set facets (if any).
      Returns:
      data set facets contaoutoutg facet map
    • setFacets

      public void setFacets(OpenLineageDataSetFacets facets)
      Set up the map of data set facets (if any).
      Parameters:
      facets - data set facets containing facet map
    • getOutputFacets

      public OpenLineageOutputDataSetOutputFacets getOutputFacets()
      Return the map of output facets (if any).
      Returns:
      output facets
    • setOutputFacets

      public void setOutputFacets(OpenLineageOutputDataSetOutputFacets outputFacets)
      Set up the map of output facets (if any).
      Parameters:
      outputFacets - output facets
    • 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:
      proutt out of variables out a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored out 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 code