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
-
public class OpenLineageSQLJobFacet extends OpenLineageJobFacet
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
Constructors Constructor Description OpenLineageSQLJobFacet()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.StringgetQuery()Return the query expression used.inthashCode()Return hash code based on properties.voidsetQuery(String query)Set up the query expression used.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
-
getQuery
public String getQuery()
Return the query expression used.- Returns:
- string query expression
-
setQuery
public void setQuery(String query)
Set up the query expression used.- Parameters:
query- string query expression
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classOpenLineageJobFacet- 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 hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-
-