Class OpenLineageExtractionErrorRunFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageExtractionErrorRunFacet
This class represents the extractionError run facet. It reports tasks whose lineage could not be extracted by the OpenLineage integration.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-1-2/ExtractionErrorRunFacet.json#/$defs/ExtractionErrorRunFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the details of each extraction error.Return the number of distinguishable tasks in the run that OpenLineage could not process successfully.Return the number of distinguishable tasks in the run that were processed by OpenLineage, whether successfully or not.inthashCode()Return hash code based on properties.voidSet up the details of each extraction error.voidsetFailedTasks(Long failedTasks) Set up the number of distinguishable tasks in the run that OpenLineage could not process successfully.voidsetTotalTasks(Long totalTasks) Set up the number of distinguishable tasks in the run that were processed by OpenLineage, whether successfully or not.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
-
OpenLineageExtractionErrorRunFacet
public OpenLineageExtractionErrorRunFacet()Default constructor
-
-
Method Details
-
getTotalTasks
Return the number of distinguishable tasks in the run that were processed by OpenLineage, whether successfully or not.- Returns:
- long
-
setTotalTasks
Set up the number of distinguishable tasks in the run that were processed by OpenLineage, whether successfully or not.- Parameters:
totalTasks- long
-
getFailedTasks
Return the number of distinguishable tasks in the run that OpenLineage could not process successfully.- Returns:
- long
-
setFailedTasks
Set up the number of distinguishable tasks in the run that OpenLineage could not process successfully.- Parameters:
failedTasks- long
-
getErrors
Return the details of each extraction error.- Returns:
- list
-
setErrors
Set up the details of each extraction error.- Parameters:
errors- list
-
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
-