Class OpenLineageDataSourceDataSetFacet

java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageDataSourceDataSetFacet

public class OpenLineageDataSourceDataSetFacet extends OpenLineageFacet
This class represents the Common header for facets in the open lineage standard spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
  • Constructor Details

    • OpenLineageDataSourceDataSetFacet

      public OpenLineageDataSourceDataSetFacet()
      Default constructor
  • Method Details

    • getName

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

      public void setName(String name)
      Set up the name of the data source.
      Parameters:
      name - string name
    • getUri

      public URI getUri()
      Return the URI to connect to the data source.
      Returns:
      uri
    • setUri

      public void setUri(URI uri)
      Set up the URI to connect to the data source.
      Parameters:
      uri - uri string
    • 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