Class OpenLineageSQLJobFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageJobFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageSQLJobFacet
This class represents the Common header for the SQL facet in Job 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.getQuery()
Return the query expression used.int
hashCode()
Return hash code based on properties.void
Set up the query expression used.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
-
OpenLineageSQLJobFacet
public OpenLineageSQLJobFacet()Default constructor
-
-
Method Details
-
getQuery
Return the query expression used.- Returns:
- string query expression
-
setQuery
Set up the query expression used.- Parameters:
query
- string query expression
-
toString
Standard toString method.- Overrides:
toString
in classOpenLineageJobFacet
- 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
-