Class OpenLineageProcessingEngineRunFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageProcessingEngineRunFacet
This class represents the processing_engine run facet. It identifies the engine (and OpenLineage adapter) that executed the run.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-1-1/ProcessingEngineRunFacet.json#/$defs/ProcessingEngineRunFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.getName()Return the processing engine name, for example Airflow or Spark.Return the version of the OpenLineage adapter package used by the engine.Return the processing engine version, for example the Airflow or Spark version.inthashCode()Return hash code based on properties.voidSet up the processing engine name, for example Airflow or Spark.voidsetOpenlineageAdapterVersion(String openlineageAdapterVersion) Set up the version of the OpenLineage adapter package used by the engine.voidsetVersion(String version) Set up the processing engine version, for example the Airflow or Spark version.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
-
OpenLineageProcessingEngineRunFacet
public OpenLineageProcessingEngineRunFacet()Default constructor
-
-
Method Details
-
getVersion
Return the processing engine version, for example the Airflow or Spark version.- Returns:
- string
-
setVersion
Set up the processing engine version, for example the Airflow or Spark version.- Parameters:
version- string
-
getName
Return the processing engine name, for example Airflow or Spark.- Returns:
- string
-
setName
Set up the processing engine name, for example Airflow or Spark.- Parameters:
name- string
-
getOpenlineageAdapterVersion
Return the version of the OpenLineage adapter package used by the engine.- Returns:
- string
-
setOpenlineageAdapterVersion
Set up the version of the OpenLineage adapter package used by the engine.- Parameters:
openlineageAdapterVersion- 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
-