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 Summary
Constructors Constructor Description OpenLineageDataSourceDataSetFacet()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetName()Return the name of the data source.URIgetUri()Return the URI to connect to the data source.inthashCode()Return has code based on properties.voidsetName(String name)Set up the name of the data source.voidsetUri(URI uri)Set up the URI to connect to the data source.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
-
-
-
Method Detail
-
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:
toStringin classOpenLineageFacet- 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:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-
-