Class OpenLineageExtractionErrorRunFacetError
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageExtractionErrorRunFacetError
This class represents a single error that occurred while OpenLineage was extracting lineage for a task in the run.
It is part of the OpenLineage spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the text representation of the extraction error.Return the stack trace of the extraction error.getTask()Return the text representation of the task that failed, for example the SQL statement.Return the order of the task in the run, if applicable.inthashCode()Return hash code based on properties.voidsetErrorMessage(String errorMessage) Set up the text representation of the extraction error.voidsetStackTrace(String stackTrace) Set up the stack trace of the extraction error.voidSet up the text representation of the task that failed, for example the SQL statement.voidsetTaskNumber(Long taskNumber) Set up the order of the task in the run, if applicable.toString()Standard toString method.
-
Constructor Details
-
OpenLineageExtractionErrorRunFacetError
public OpenLineageExtractionErrorRunFacetError()Default constructor
-
-
Method Details
-
getErrorMessage
Return the text representation of the extraction error.- Returns:
- string
-
setErrorMessage
Set up the text representation of the extraction error.- Parameters:
errorMessage- string
-
getStackTrace
Return the stack trace of the extraction error.- Returns:
- string
-
setStackTrace
Set up the stack trace of the extraction error.- Parameters:
stackTrace- string
-
getTask
Return the text representation of the task that failed, for example the SQL statement.- Returns:
- string
-
setTask
Set up the text representation of the task that failed, for example the SQL statement.- Parameters:
task- string
-
getTaskNumber
Return the order of the task in the run, if applicable.- Returns:
- long
-
setTaskNumber
Set up the order of the task in the run, if applicable.- Parameters:
taskNumber- long
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-