Class OpenLineageDataSourceDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash code based on properties.voidSet up the name of the data source.voidSet up the URI to connect to the data source.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.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:
toStringin 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:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-