Class OpenLineageDataSourceDataSetFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageDataSourceDataSetFacet
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getName()
Return the name of the data source.getUri()
Return the URI to connect to the data source.int
hashCode()
Return hash code based on properties.void
Set up the name of the data source.void
Set up the URI to connect to the data source.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
Constructor Details
-
OpenLineageDataSourceDataSetFacet
public OpenLineageDataSourceDataSetFacet()Default constructor
-
-
Method Details
-
getName
Return the name of the data source.- Returns:
- string name
-
setName
Set up the name of the data source.- Parameters:
name
- string name
-
getUri
Return the URI to connect to the data source.- Returns:
- uri
-
setUri
Set up the URI to connect to the data source.- Parameters:
uri
- uri string
-
toString
Standard toString method.- Overrides:
toString
in classOpenLineageFacet
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classOpenLineageFacet
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classOpenLineageFacet
- Returns:
- int
-