Class OpenLineageErrorMessageRunFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageErrorMessageRunFacet
This class represents the errorMessage run facet. It captures the error that caused the run to fail.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-1/ErrorMessageRunFacet.json#/$defs/ErrorMessageRunFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the human-readable error message generated by the observed system.Return the programming language the observed system uses.Return the language-specific stack trace generated by the observed system.inthashCode()Return hash code based on properties.voidsetMessage(String message) Set up the human-readable error message generated by the observed system.voidsetProgrammingLanguage(String programmingLanguage) Set up the programming language the observed system uses.voidsetStackTrace(String stackTrace) Set up the language-specific stack trace generated by the observed system.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
-
OpenLineageErrorMessageRunFacet
public OpenLineageErrorMessageRunFacet()Default constructor
-
-
Method Details
-
getMessage
Return the human-readable error message generated by the observed system.- Returns:
- string
-
setMessage
Set up the human-readable error message generated by the observed system.- Parameters:
message- string
-
getProgrammingLanguage
Return the programming language the observed system uses.- Returns:
- string
-
setProgrammingLanguage
Set up the programming language the observed system uses.- Parameters:
programmingLanguage- string
-
getStackTrace
Return the language-specific stack trace generated by the observed system.- Returns:
- string
-
setStackTrace
Set up the language-specific stack trace generated by the observed system.- Parameters:
stackTrace- 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
-