Class 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 Detail

      • OpenLineageDataSourceDataSetFacet

        public OpenLineageDataSourceDataSetFacet()
        Default constructor
    • Method Detail

      • getName

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

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

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

        public void setUri​(java.net.URI uri)
        Set up the URI to connect to the data source.
        Parameters:
        uri - uri string
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class OpenLineageFacet
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.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