Class OpenLineageExtractionErrorRunFacetError

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageExtractionErrorRunFacetError

public class OpenLineageExtractionErrorRunFacetError extends Object
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 Details

    • OpenLineageExtractionErrorRunFacetError

      public OpenLineageExtractionErrorRunFacetError()
      Default constructor
  • Method Details

    • getErrorMessage

      public String getErrorMessage()
      Return the text representation of the extraction error.
      Returns:
      string
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      Set up the text representation of the extraction error.
      Parameters:
      errorMessage - string
    • getStackTrace

      public String getStackTrace()
      Return the stack trace of the extraction error.
      Returns:
      string
    • setStackTrace

      public void setStackTrace(String stackTrace)
      Set up the stack trace of the extraction error.
      Parameters:
      stackTrace - string
    • getTask

      public String getTask()
      Return the text representation of the task that failed, for example the SQL statement.
      Returns:
      string
    • setTask

      public void setTask(String task)
      Set up the text representation of the task that failed, for example the SQL statement.
      Parameters:
      task - string
    • getTaskNumber

      public Long getTaskNumber()
      Return the order of the task in the run, if applicable.
      Returns:
      long
    • setTaskNumber

      public void setTaskNumber(Long taskNumber)
      Set up the order of the task in the run, if applicable.
      Parameters:
      taskNumber - long
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int