Class OpenLineageExternalQueryRunFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageExternalQueryRunFacet
This class represents the externalQuery run facet. It identifies a query executed in an external system on behalf of the run.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-2/ExternalQueryRunFacet.json#/$defs/ExternalQueryRunFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the identifier of the query in the external system.Return the source (external system) of the query.inthashCode()Return hash code based on properties.voidsetExternalQueryId(String externalQueryId) Set up the identifier of the query in the external system.voidSet up the source (external system) of the query.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, setAdditionalProperty
-
Constructor Details
-
OpenLineageExternalQueryRunFacet
public OpenLineageExternalQueryRunFacet()Default constructor
-
-
Method Details
-
getExternalQueryId
Return the identifier of the query in the external system.- Returns:
- string
-
setExternalQueryId
Set up the identifier of the query in the external system.- Parameters:
externalQueryId- string
-
getSource
Return the source (external system) of the query.- Returns:
- string
-
setSource
Set up the source (external system) of the query.- Parameters:
source- string
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageRunFacet- 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
-